Felix Miata wrote:
On 2014-05-24 00:29 (GMT-0400) Anton Aylward composed:
MAN 5 hostmane talks of the file /etc/hostname which it claims is set at boot time.
This is hardly the only case of an openSUSE man page referring to something that in openSUSE does not exist due to some filename difference from upstream.
cf. https://bugzilla.novell.com/show_bug.cgi?id=858448
Id doens't say if this is set by the command line or by something in the systemd boot sequence. Perhaps a 'systemd-hostnamed.service'?
Either way, I don't have this file, so where does that 'linux-85q8' come from? The kernel? So how did it get there if not on the command line?
You don't use mc much, do you? Same for distros other than openSUSE? Just for kicks, open mc, find /etc/zypp/ in it, then scan down a couple of lines or three.
AFAICR, no other distro than openSUSE that I've ever used omits /etc/hostname. openSUSE's parent had a predilection for capitals and mixed case, a case-sensitive filesystem nuisance inherited by openSUSE for things like YaST2, SuSEfirewall2, and among others, /etc/HOSTNAME. Take a look around line 466 in /usr/share/YaST2/clients/save_network.rb for where the host of your linux-85q8 likely got created.
Renaming /etc/hostname as /etc/HOSTNAME is 100% unacceptable. What, is SuSE now overrun with MS-DOS retards?
Summary: /etc/hostname vs. /etc/HOSTNAME confusion Collapse All Comments - Expand All Comments [reply] [-] Description Christian Boltz 2014-01-15 20:18:58 UTC Bug 803653 was about /etc/hostname vs. /etc/HOSTNAME on 12.3, and especially about hostnamectl's behaviour. This bugreport is a follow-up. The behaviour on 13.1 is interesting[tm]: After a fresh install, there's only /etc/HOSTNAME (owned by netcfg package), but no /etc/hostname: -rw-r--r-- 1 root root 13 21 nov 16:05 /etc/HOSTNAME When calling "hostnamectl set-hostname ein.host.name", the result is -rw-r--r-- 1 root root 14 14. Jan 20:49 /etc/hostname lrwxrwxrwx 1 root root 13 14. Jan 20:49 /etc/HOSTNAME -> /etc/hostname This doesn't break anything, but is at least confusing. Can you please sort out what the correct filename is? ;-) Frederic, I'm assigning this to you (like the old bug) because the primary issue is in hostnamectl. If you think other parts (installation?) need to be changed, please reassign as needed. [reply] [-] Comment 1 Frederic Crozat 2014-01-16 09:25:13 UTC /etc/HOSTNAME is created by YaST and /etc/hostname is created by systemd-hostnamed (which takes care of the migration). So, YaST should be fixed to create /etc/hostname and setup the symlink, to be compatible with the new cross-distribution way. [reply] [-] Comment 2 Arvin Schnell 2014-01-16 10:39:35 UTC Reassigned to bugowner of yast2-network. All that occurred within 24 hours of the bug submission And since then, yst2-network guy hasn't done a DAMNED FUCKING THING, or even acknowledged that the bug is his. WTF? OVER. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org