arrow_upward

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change hostname error
#4
Looks to be like a systemd bug that basically affects various distributions using systemd (RHEL, CentOS, ArchLinux, etc...).

Take a look at this bug report on RHEL: https://bugzilla.redhat.com/show_bug.cgi?id=1501193

Exactly the same issue. I'm not entirely sure but you could try the attempt fix at comment 12: https://bugzilla.redhat.com/show_bug.cgi?id=1501193#c12

Alternatively if you want I can take a look. Shoot me a PM.


After getting access to the VPS I looked into the issue and it looks like SELinux was the issue. It wouldn't allow to change the hostname. When I disabled it temporarily I could change the hostname. After a reboot I tried again and got the same error. I disabled it permanently by setting SELINUX to disabled in /etc/selinux/config.

The hostname can now be changed properly without any errors.
[Image: zHHqO5Q.png]
lockThread Closed 


Messages In This Thread
Change hostname error - by Sn1F3rt - 12-07-2019, 11:04 AM
RE: Change hostname error - by Mashiro - 12-07-2019, 11:10 AM
RE: Change hostname error - by Sn1F3rt - 12-07-2019, 11:19 AM
RE: Change hostname error - by Mashiro - 12-07-2019, 11:36 AM
RE: Change hostname error - by Sn1F3rt - 12-07-2019, 04:38 PM
RE: Change hostname error - by deanhills - 12-08-2019, 11:43 AM

Possibly Related Threads…
Thread
Author
Replies
Views
Last Post
15,729
02-24-2021, 07:17 AM
Last Post: Pacific Spirit
3,751
11-27-2020, 02:53 AM
Last Post: Rehan
15,895
06-17-2020, 04:32 PM
Last Post: Mashiro
4,283
06-11-2020, 06:31 PM
Last Post: rudra

person_pin_circle Users browsing this thread: 1 Guest(s)
Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting