[Bug 964654] New: /etc/hostname settings ignored
http://bugzilla.suse.com/show_bug.cgi?id=964654 Bug ID: 964654 Summary: /etc/hostname settings ignored Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.1 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: hkuehnemund@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- YaST set an arbitrary hostname (linux-6o0n) during installation on my laptop (using DHCP on eth0 and wlan0). As YaST -> Hostnames does not offer an option to change the hostname either. So I changed /etc/hostname, saved the file, restarted network as well as rebooted a couple of times. Hwoever, content of /etc/hostname is not considered ... #linux-6o0n:~ # cat /etc/hostname #linux-6o0n.suse e1m1 #linux-6o0n:~ # -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=964654
http://bugzilla.suse.com/show_bug.cgi?id=964654#c1
Bernhard Wiedemann
http://bugzilla.suse.com/show_bug.cgi?id=964654
http://bugzilla.suse.com/show_bug.cgi?id=964654#c2
Hannes Kühnemund
http://bugzilla.suse.com/show_bug.cgi?id=964654
http://bugzilla.suse.com/show_bug.cgi?id=964654#c3
--- Comment #3 from Hannes Kühnemund
http://bugzilla.suse.com/show_bug.cgi?id=964654
http://bugzilla.suse.com/show_bug.cgi?id=964654#c4
Bernhard Wiedemann
http://bugzilla.suse.com/show_bug.cgi?id=964654
http://bugzilla.suse.com/show_bug.cgi?id=964654#c5
Dominique Leuenberger
I cannot change those settings with "yast2 lan", see screenshot. Seems that NetworkManager is handling it ...
Yast says it "can't configure *SOME* settings" - The hostname is not amongst the settings it can't manage for you. Klick OK, change to the tab Hostname/DNS and you will see that the part for settings the hostname is NOT grayed out.. and can be configured. alternatively, you can use
hostnamectl set-hostname <NAME>
Please verify and report back -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=964654
http://bugzilla.suse.com/show_bug.cgi?id=964654#c6
--- Comment #6 from Dominique Leuenberger
NetworkManager is handled by gnome team
FWIW: at the time NM launches the network (in the user session), the hostname has long been set already on the command line -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=964654
http://bugzilla.suse.com/show_bug.cgi?id=964654#c7
Hannes Kühnemund
Yast says it "can't configure *SOME* settings" - The hostname is not amongst the settings it can't manage for you.
Klick OK, change to the tab Hostname/DNS and you will see that the part for settings the hostname is NOT grayed out.. and can be configured.
That worked, thank you. So basically this is a YaST usability issue because when you open YaST2 and search for "hostname", you get the "hostname module" presented, which is entirely useless in this scenario (see screenshot). Shall we move this to the YaST team (Jiri S.)? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=964654
http://bugzilla.suse.com/show_bug.cgi?id=964654#c8
--- Comment #8 from Hannes Kühnemund
http://bugzilla.suse.com/show_bug.cgi?id=964654
http://bugzilla.suse.com/show_bug.cgi?id=964654#c9
Dominique Leuenberger
http://bugzilla.suse.com/show_bug.cgi?id=964654
http://bugzilla.suse.com/show_bug.cgi?id=964654#c10
--- Comment #10 from Hannes Kühnemund
http://bugzilla.suse.com/show_bug.cgi?id=964654
http://bugzilla.suse.com/show_bug.cgi?id=964654#c11
--- Comment #11 from Hannes Kühnemund
http://bugzilla.suse.com/show_bug.cgi?id=964654
http://bugzilla.suse.com/show_bug.cgi?id=964654#c12
Lukas Ocilka
Created attachment 664176 [details] yast2 hostname being useless here
In fact, this is a module for managing `Hostname Aliases` in /etc/hosts That might, indeed, be a bit confusing for newcomer. I'd ask Ken for help if you think it needs to be changed. Additionally, changing hostname for a system managed by NetworkManager works as defined by Dominique. Changing this to something more understandable also depends on Ken's design. The fact, that this is confusing as it's not enough to just change /etc/hostname is indeed confusing, but beyond Yast responsibility as this is defined by the basesystem. (In reply to Hannes Kühnemund from comment #11)
Where are we with this?
This is just a P5 for openSUSE, we are implementing new features and we are fully booked till the feature freeze and at least two more weeks after that. If it is a top priority for you, please, adjust it in Bugzilla, but what I'm currently seeing are in fact two separate bugreports here, that deserves two separate bugports as they (also) might have different priorities. So, Ken? Could you PLS take a look? In case of any questions, PLS talk to Michal, Me, Jiri and/or Hannes. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=964654
Knut Alejandro Anderssen González
http://bugzilla.suse.com/show_bug.cgi?id=964654
http://bugzilla.suse.com/show_bug.cgi?id=964654#c14
Tomáš Chvátal
participants (1)
-
bugzilla_noreply@novell.com