[Bug 444967] New: hosname cannot be changed when the network type is " user managed by NetworkManager"
https://bugzilla.novell.com/show_bug.cgi?id=444967 Summary: hosname cannot be changed when the network type is "user managed by NetworkManager" Product: openSUSE 11.1 Version: Beta 5 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: nice@titanic.nyme.hu QAContact: jsrain@novell.com Found By: Other I have to change to the ifup managed mode in order to be able to change the hostname. Why? But then, interestingly, after changing back to NetworkManager mode, openSUSE remembers the hostname, set in ifup mode. This may be very confusing and annoying for new and/or inexperienced users. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=444967 Robert Vojcik <rvojcik@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |mzugec@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=444967 User mzugec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=444967#c1 Michal Zugec <mzugec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mzugec@novell.com |tambet@novell.com --- Comment #1 from Michal Zugec <mzugec@novell.com> 2008-11-14 02:05:56 MST --- reassign to NetworkManager maintainer -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=444967 User vuntz@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=444967#c2 Vincent Untz <vuntz@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vuntz@novell.com Status|NEW |NEEDINFO Info Provider| |nice@titanic.nyme.hu --- Comment #2 from Vincent Untz <vuntz@novell.com> 2008-11-14 09:06:31 MST --- (In reply to comment #0 from Tamás Németh)
I have to change to the ifup managed mode in order to be able to change the hostname.
How do you change the hostname? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=444967 User nice@titanic.nyme.hu added comment https://bugzilla.novell.com/show_bug.cgi?id=444967#c3 --- Comment #3 from Tamás Németh <nice@titanic.nyme.hu> 2008-11-14 09:19:40 MST --- In the "Network settings" module of YaST, on the Hostname/DNS tab. More interestingly I installed openSUSE 11.1 in hungarian, and the character console version of YaST is enrirely in english, while the QT version is mainly in hungarian (except the main categories, which are in english). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=444967 User vuntz@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=444967#c4 Vincent Untz <vuntz@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|tambet@novell.com |bnc-team-screening@forge.provo.novell.com Status|NEEDINFO |NEW Info Provider|nice@titanic.nyme.hu | --- Comment #4 from Vincent Untz <vuntz@novell.com> 2008-11-14 09:47:35 MST --- That sounds like a yast issue, then. Nothing to do with NM. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=444967 User nice@titanic.nyme.hu added comment https://bugzilla.novell.com/show_bug.cgi?id=444967#c5 --- Comment #5 from Tamás Németh <nice@titanic.nyme.hu> 2008-11-16 08:34:11 MST --- Of course. This is why I reported it as a YaST bug (I hope so). Or haven't I? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=444967 User vuntz@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=444967#c6 --- Comment #6 from Vincent Untz <vuntz@novell.com> 2008-11-16 08:52:09 MST --- (In reply to comment #5 from Tamás Németh)
Of course. This is why I reported it as a YaST bug (I hope so). Or haven't I?
This was a reply to comment #1. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=444967 Andreas Jaeger <aj@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |yast2-maintainers@suse.de Summary|hosname cannot be changed when the network type |hostname cannot be changed when the network type |is "user managed by NetworkManager" |is "user managed by NetworkManager" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=444967 User jkupec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=444967#c7 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|yast2-maintainers@suse.de |mzugec@novell.com --- Comment #7 from Ján Kupec <jkupec@novell.com> 2008-11-18 04:48:05 MST --- Miso, back to you :O) Or Bubli? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=444967 User kmachalkova@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=444967#c9 Katarina Machalkova <kmachalkova@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |visnov@novell.com --- Comment #9 from Katarina Machalkova <kmachalkova@novell.com> 2008-11-18 11:25:16 MST --- Stano, what is the correct policy here? I thought no settings at all can be (are allowed to be) edited by YaST if the user has choosen NetworkManager. By 'no settings at all' I mean, of course, a hostname as well. Correct me if I'm wrong ... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=444967 User visnov@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=444967#c10 Stanislav Visnovsky <visnov@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |visnov@novell.com Info Provider|visnov@novell.com |tambet@novell.com --- Comment #10 from Stanislav Visnovsky <visnov@novell.com> 2008-11-19 02:15:00 MST --- Tambet? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=444967 User tambet@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=444967#c11 Tambet Ingo <tambet@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tambet@novell.com Status|NEEDINFO |NEW Info Provider|tambet@novell.com | --- Comment #11 from Tambet Ingo <tambet@novell.com> 2008-11-19 03:14:20 MST --- I'm not sure. The plan was to not use any /etc/sysconfig/network settings with NetworkManager, and so yast behaves correctly. Afterwards, it became obvious NM simply needs to use /etc/HOSTNAME, too much stuff broke without it (since programs started before networking need hostname too). I think the best solution is to add UI to NetworkManager's configuration utility to change hostname, but it's too late for 11.1. In reality, it's probably not such a big deal - how often do you really need to change your host name after installation is done and it's still possible (the simplest way is to just edit /etc/HOSTNAME directly). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=444967 User kmachalkova@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=444967#c12 Katarina Machalkova <kmachalkova@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #12 from Katarina Machalkova <kmachalkova@novell.com> 2008-11-19 04:11:19 MST --- If it's too late to provide related GUI in NetworkManager for 11.1, then we'd probably better enable editing hostname in YaST, even if NetworkManager is in charge of controlling the network. Inexperienced user doesn't necessarily have to know that /etc/HOSTNAME file actually holds the desired data. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=444967 User gfarrell@netspeed.com.au added comment https://bugzilla.novell.com/show_bug.cgi?id=444967#c13 Geoff Farrell <gfarrell@netspeed.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gfarrell@netspeed.com.au --- Comment #13 from Geoff Farrell <gfarrell@netspeed.com.au> 2008-11-21 21:29:01 MST --- In bug #440809 I have proposed a simple script to change the hostname from the command line. If you think that a Release Note explaining how to use it would be acceptable, then it might save having to re-write YaST before 11.1 release. Tambet makes a good point: the number of users needing to change their hostname after installation is probably quite low. Maybe the 'change-hostname' script, along with a Release Note, might be enough. Later, when NetworkManager can change the hostname with its own UI, then the script would not be needed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=444967 User gfarrell@netspeed.com.au added comment https://bugzilla.novell.com/show_bug.cgi?id=444967#c14 --- Comment #14 from Geoff Farrell <gfarrell@netspeed.com.au> 2008-11-21 21:38:40 MST --- The only drawback to the 'change-hostname' method, is that the changes are made to the files manually, with no other configuration taking place. To ensure reliable operation, the computer might need to be re-booted, or instead the X-server and network service might need to be re-started, or maybe some other 'sysconfig' operation that the network experts might know about. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=444967 User tambet@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=444967#c15 --- Comment #15 from Tambet Ingo <tambet@novell.com> 2008-11-24 01:20:54 MST --- As I explained in bug #440809, that script is not needed. Changing /etc/HOSTNAME is enough to get the change everywhere. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=444967 User michael.monreal@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=444967#c16 Michael Monreal <michael.monreal@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |michael.monreal@gmail.com --- Comment #16 from Michael Monreal <michael.monreal@gmail.com> 2008-11-27 10:56:31 MST --- At least in automatic configuration mode, there's no way to set the initial hostname during installation so the hostname ends up as "linux-$random" which looks stupid IMHO. Even more so because this name is exposed on every login (in GDM). Editing /etc/HOSTNAME is a nice workaround for now but no solution for a longer period of time. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=444967 User kmachalkova@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=444967#c17 Katarina Machalkova <kmachalkova@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #17 from Katarina Machalkova <kmachalkova@novell.com> 2008-12-02 09:57:58 MST ---
Editing /etc/HOSTNAME is a nice workaround for now but no solution for a longer period of time.
Indeed. As mentioned in comment #11, this should handled by NetworkManager and it hopefully will be in openSUSE 11.2. For the time being, the workaround was added to YaST (where it was a question of un-disabling four widgets). So just ignore the evil "Network is currently controlled by ..." pop-up and set the hostname in YaST's Network Settings module. This will be yast2-network 2.17.61 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=444967 User jdd@dodin.org added comment https://bugzilla.novell.com/show_bug.cgi?id=444967#c18 Jean-Daniel Dodin <jdd@dodin.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jdd@dodin.org Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #18 from Jean-Daniel Dodin <jdd@dodin.org> 2008-12-25 02:02:18 MST --- In final 11.1! Changing /etc/hostname or /etc/HOSTNAME *do not* change the hostname!! may be it's in an other file. and the hostname command don't works! I had also to change network manager to ifup (and have stupidly smppd added when I have no modem) to be able to change the hostname, and after that back again to network manager. not very user friendly - and my computer always have the same name. down there, linux-qfu4 was the random name and mecum the correct hostname (done after the change): grep -R linux-qfu4 /etc /etc/hosts.YaST2save:127.0.0.1 linux-qfu4 localhost.localdomain localhost Fichier binaire /etc/aliases.db concorde /etc/hosts:127.0.0.1 #linux-qfu4 localhost.localdomain localhost grep -R mecum /etc /etc/hosts.YaST2save:127.0.0.2 mecum.perso mecum /etc/postfix/main.cf:myhostname = mecum.perso /etc/printcap:hp5m|hp5m:rm=mecum.perso:rp=hp5m: /etc/printcap:hp_1|hp4100:rm=mecum.perso:rp=hp_1: /etc/hosts:127.0.0.1 mecum.perso mecum /etc/hosts:127.0.0.2 mecum.perso mecum /etc/HOSTNAME:mecum.perso -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=444967 User kmachalkova@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=444967#c19 --- Comment #19 from Katarina Machalkova <kmachalkova@novell.com> 2009-01-05 10:06:28 MST ---
Changing /etc/hostname or /etc/HOSTNAME *do not* change the hostname!! may be it's in an other file. and the hostname command don't works!
Then please file a separate bug against basesystem (and not YaST, which cannot influence on how 'hostname' command works in any way) and describe how it should work and how it really works instead.
I had also to change network manager to ifup (and have stupidly smppd added when I have no modem) to be able to change the hostname, and after that back again to network manager.
I'm sorry, the fix for this bug did not make it into 11.1 final release (which contains y2-network 2.17.60 only - you need to have 2.17.61 to actually see the fix). Hopefully, it'll be available in Factory soon -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=444967 User kmachalkova@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=444967#c20 Katarina Machalkova <kmachalkova@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #20 from Katarina Machalkova <kmachalkova@novell.com> 2009-01-06 03:04:41 MST --- Anyway, this is really fixed for SLES/D 11 an openSUSE Factory. Unfortunately, bugzilla does not allow setting 'Fixed in milestone' flag to Factory :( -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com