https://bugzilla.novell.com/show_bug.cgi?id=667265 https://bugzilla.novell.com/show_bug.cgi?id=667265#c3 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |mt@novell.com AssignedTo|mt@novell.com |varkoly@novell.com --- Comment #3 from Marius Tomaschewski <mt@novell.com> 2011-01-28 13:31:30 UTC --- The hostname from /etc/HOSTNAME is set via /etc/init.d/boot.localnet, so it should be initially set (before /etc/init.d/network starts). Can you press ESC key at boot time and take a look if you see some of the following messages? Using boot-specified hostname 'linux' Setting up hostname 'linux' done Setting up loopback interface lo Or reboot and edit the kernel boot options (ESC to get text mode) and remove the quiet option and set spash=0. While network start (ifup-dhcp), th the dhcp client sends /etc/HOSTNAME to the dhcp server (-h $hostname option) and either gets it back from the dhcp server or not. The dhcp client sets then either the hostname it got back or the hostname it got on reverse lookup of the ip address. What is set, should be also visible in /var/log/messages, e.g.: Jan 28 12:02:22 xanthos dhcpcd[4633]: br1000: setting hostname to `linux' In your case, it seems to get "linux" back from the dhcp-server: ++ cat /dev/.sysconfig/network/tmp/if-eth0.25556 + case $a in + echo primary=yes + IFS== + read a b + case $a in + echo hostname=linux ^^^^^^^^^^^^^^^^^^^ + IFS== + read a b + case $a in + echo dhcp4_client=dhcpcd ^^^^^^^^^^^^^^^^^^^^^^^^ + IFS== + read a b + case $a in + echo config=eth0 + IFS== + read a b + case $a in + IFS== + read a b + case $a in + echo dhcp4_state=complete ^^^^^^^^^^^^^^^^^^^^^^^^^ Please provide the output of the following commands executed as root: ps ax | grep /sbin/dhc | grep -v grep unset HOSTNAME eval `dhcpcd-test eth0 | grep ^HOSTNAME` echo "HOSTNAME: $HOSTNAME" eval `dhcpcd-test eth0 | grep ^IPADDR` echo "IPADDR: $IPADDR" test -n "$IPADDR" && host $IPADDR See also the following related variables (and defaults): DHCLIENT_SET_DEFAULT_ROUTE=yes, DHCLIENT_USE_LAST_LEASE=yes, DHCLIENT_HOSTNAME_OPTION="AUTO", DHCLIENT_RELEASE_BEFORE_QUIT=no in /etc/sysconfig/network/dhcp. Maybe you have to set DHCLIENT_RELEASE_BEFORE_QUIT="yes" for your dhcp server? Reassigned to Peter Varkoly, who maintains the dhcpcd package, that is responsible to set 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.