[Bug 858385] New: 'hostname -f' doesn't return FQDN after boot; systemd is setting it to "short" name during boot
https://bugzilla.novell.com/show_bug.cgi?id=858385 https://bugzilla.novell.com/show_bug.cgi?id=858385#c0 Summary: 'hostname -f' doesn't return FQDN after boot; systemd is setting it to "short" name during boot Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: All OS/Version: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jen142@promessage.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0 on boot of 13.1, my FQDN hostname is incorrectly set/reported, hostname -f jenlsvr hostname -s jenlsvr even though, cat /etc/HOSTNAME jenlsvr.domain.com checking boot logs journalctl -xb | grep -i hostname Jan 10 19:44:22 jenlsvr systemd[1]: Set hostname to <jenlsvr>. Jan 10 19:44:51 jenlsvr dbus[521]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' Jan 10 19:44:51 jenlsvr systemd[1]: Starting Hostname Service... Jan 10 19:44:51 jenlsvr dbus[521]: [system] Successfully activated service 'org.freedesktop.hostname1' Jan 10 19:44:51 jenlsvr systemd[1]: Started Hostname Service. Jan 10 19:46:34 jenlsvr.domain.com systemd-hostnamed[4440]: Changed host name to 'jenlsvr.domain.com' looking @ systemd's hostname client output, rpm -q --whatprovides `which hostnamectl` systemd-208-508.1.x86_64 hostnamectl Static hostname: jenlsvr.domain.com Transient hostname: jenlsvr Icon name: computer-vm Chassis: vm Machine ID: 192b757c3ab24e45cc8f3e3f4898628f Boot ID: 728ff5c5a8454de4bd2cafa359086d04 Virtualization: xen Operating System: openSUSE 13.1 (Bottle) (x86_64) CPE OS Name: cpe:/o:opensuse:opensuse:13.1 Kernel: Linux 3.11.6-4-xen Architecture: x86_64 setting the transient value hostnamectl --transient set-hostname jenlsvr.domain.com Static hostname: jenlsvr.domain.com Icon name: computer-vm Chassis: vm Machine ID: 192b757c3ab24e45cc8f3e3f4898628f Boot ID: 728ff5c5a8454de4bd2cafa359086d04 Virtualization: xen Operating System: openSUSE 13.1 (Bottle) (x86_64) CPE OS Name: cpe:/o:opensuse:opensuse:13.1 Kernel: Linux 3.11.6-4-xen Architecture: x86_64 fixes the FQDN return -- temporarily hostname -f jenlsvr.domain.com hostname -s jenlsvr but after reboot, returns to hostname -f jenlsvr.domain.com hostname -s jenlsvr Reproducible: Always Steps to Reproduce: 1. 2. 3. -- 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=858385 https://bugzilla.novell.com/show_bug.cgi?id=858385#c Jennie L <jen142@promessage.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |systemd-maintainers@suse.de |ovo.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=858385 https://bugzilla.novell.com/show_bug.cgi?id=858385#c1 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |werner@suse.com InfoProvider| |jen142@promessage.com --- Comment #1 from Dr. Werner Fink <werner@suse.com> 2014-01-13 09:50:30 UTC --- What network devices are avtive (output of the command e.g. ifconfig) and what setup has been configured (output of the command e.g. route). This because I'm *not* able to reproduce -- 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=858385 https://bugzilla.novell.com/show_bug.cgi?id=858385#c2 Jennie L <jen142@promessage.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|jen142@promessage.com | --- Comment #2 from Jennie L <jen142@promessage.com> 2014-01-13 14:46:51 UTC ---
What network devices are avtive (output of the command e.g. ifconfig) and what setup has been configured (output of the command e.g. route).
It's a Xen guest on a hosted VPS service where I do not own/control the Dom0 host. There's a single eth0, lo and a tun1 (for OpenVPN, eventually, but vpn is not active right now) ifconfig eth0 Link encap:Ethernet HWaddr F1:4D:26:52:66:19 inet addr:XX.XX.XX.26 Bcast:XX.XX.XX.255 Mask:255.255.255.0 inet6 addr: 2600:4d02:...:2001/64 Scope:Global inet6 addr: 2600:4d02...:2002/64 Scope:Global inet6 addr: 2600:4d02...:fe66:1926/64 Scope:Global inet6 addr: fe80:...:fe66:1926/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:135046 errors:0 dropped:0 overruns:0 frame:0 TX packets:108776 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:18141874 (17.3 Mb) TX bytes:59625681 (56.8 Mb) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:2855 errors:0 dropped:0 overruns:0 frame:0 TX packets:2855 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1094929 (1.0 Mb) TX bytes:1094929 (1.0 Mb) tun1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 UP POINTOPOINT NOARP MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:500 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) route -A inet Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default gw-li36.linode. 0.0.0.0 UG 0 0 0 eth0 XX.XX.XX.0 * 255.255.255.0 U 0 0 0 eth0 loopback * 255.0.0.0 U 0 0 0 lo link-local * 255.255.0.0 U 0 0 0 eth0 route -A inet6 Kernel IPv6 routing table Destination Next Hop Flags Metric Ref Use Iface ::1/128 :: U 256 0 0 lo 2001:470:0:50::2/128 fe80::1 UGC 0 3 0 eth0 2600:4d02::2/128 :: UC 0 4 0 eth0 2600:4d02::3/128 :: UC 0 5 0 eth0 2600:4d02::a/128 :: UC 0 1 0 eth0 2600:4d02::/64 :: U 256 0 0 eth0 fe80::/64 :: U 256 0 0 eth0 ::/0 fe80::1 UG 1024 0 0 eth0 ::1/128 :: U 0 2223 1 lo 2600:4d02::/128 :: U 0 0 1 lo 2600:4d02:...:2001/128 :: U 0 14469 1 lo 2600:4d02:...:2002/128 :: U 0 0 1 lo 2600:4d02...:fe66:1926/128 :: U 0 88745 5 lo fe80::/128 :: U 0 0 1 lo fe80:...:fe66:1926/128 :: U 0 2841 1 lo ff02::1/128 :: UC 0 836 0 eth0 ff02::1:ff66:1926/128 :: UC 0 2 0 eth0 ff00::/8 :: U 256 0 0 eth0 ff00::/8 :: U 256 0 0 tun1 -- 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