https://bugzilla.novell.com/show_bug.cgi?id=803653 https://bugzilla.novell.com/show_bug.cgi?id=803653#c0 Summary: hostnamed/hostnamectl is just broken Classification: openSUSE Product: openSUSE 12.3 Version: RC 1 Platform: x86-64 OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mike.catanzaro@gmail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 hostnamed/hostnamectl is just broken. By default... michael@linux-h2qj:~> hostnamectl Static hostname: n/a Transient hostname: linux-h2qj.site Pretty hostname: n/a <snip> That's not my transient hostname, which is completely different. That's my static hostname. It's supposed to be stored in /etc/hostname according to the manpage and upstream, but it's actually in /etc/HOSTNAME as that's where it's always been for openSUSE. michael@linux-h2qj:~> hostnamectl set-hostname 'Victory Road' michael@linux-h2qj:~> hostnamectl Static hostname: victory-road Pretty hostname: Victory Road <snip> Now that made /etc/hostname: michael@linux-h2qj:~> cat /etc/hostname victory-road michael@linux-h2qj:~> cat /etc/machine-info PRETTY_HOSTNAME=Victory Road michael@linux-h2qj:~> cat /etc/HOSTNAME linux-h2qj.site YaST of course only knows about /etc/HOSTNAME. So I think hostnamed is not really accomplishing anything? Maybe it should be patched to use /etc/HOSTNAME instead for now? And something is really odd about the transient hostname. I'm not sure what it's doing there, but mine is absolutely completely different from what is displayed.... (Maybe we don't need to build hostnamed/hostnamectl at all for 12.3 -- does anything hard depend on them?) Reproducible: Always Also we're missing a soft dependency on nss-myhostname, so if hostnamed DID work it would make the new hostname unresolvable. That's merged into systemd 197 upstream, but since we're on systemd 195 we just get a little complaint in the journal that we're doing it wrong: Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolvable. Please install nss-myhostname! -- 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.