#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 | Resolution: Keywords: | --------------------+------------------------------------------------------- Comment (by [EMAIL PROTECTED]):
The kernel itself sets the string to "(none)" by default (i.e., no script is involved, you can check that by booting with "init=/bin/bash" appended to the kernel command line), so it looks like a bug in dhcp client. If you insist that the bug is in LFS, * Paste the piece of dhcp client code that checks that the hostname is empty * Retitle the bug to "Can't set hostname to empty string using /etc/sysconfig/network". -- 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
