#1874: /sbin/dhclient-script doesn't set hostname because LFS sets hostname to "(none)" --------------------+------------------------------------------------------- Reporter: joni78 | Owner: [email protected] Type: defect | Status: new Priority: normal | Milestone: Component: Book | Version: 6.2 Severity: normal | Keywords: --------------------+------------------------------------------------------- Hi,
I've been trying all day to get my LFS dhcp clients to get the hostname from the dhcpd server. As it turns out it doesn't set this because the script checks if the hostname string is empty, which it is not because LFS sets this to "(none)", even if I set HOSTNAME="" in /etc/sysconfig/network. At this moment I didn't find which script sets this to (none). I've looked at /etc/rc.d/init.d/localnet, which does set the hostname, but it doesn't seem to be it. Please advice and maybe it would be nice to change the script? Thanks! Jonathan -- Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/1874> LFS Trac <http://wiki.linuxfromscratch.org/lfs/> Linux From Scratch: Your Distro, Your Rules. -- http://linuxfromscratch.org/mailman/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
