DHCP stuff

24 Feb 2006 • 1 min read

Well, it appears that every DHCP client allowed RFC violating space separated domain names being applied to the search parameter in /etc/resolv.conf :OSilly me for not allowing this violation in baselayout! Well, fear no more as you can will be able to do it in baselayout-1.12.0_pre17 which dhclient and udhcpc. dhcpcd-2.0.2 will be able to do it too when that comes out next week and I don't have any plans to fix pump. So if you want that in pump, write me a patch! ;)dhclient also got a new patch today - we can now send an extra config file via stdin which overlays any user defined one in /etc/dhcp/dhclient.confThis is important so we can automatically send our hostname and force which script to run so the user cannot in-advertently break things. We got around this in the past by editing dhclient.conf directly, but some users don't like this so we provided a flag. All in all a very nasty hack which has now been replaced by an elegant solution 😃