udhcp and busybox

Paul Fox pgf at brightstareng.com
Mon Mar 27 04:58:49 PST 2006


 > > 
 > > I'm just a user, but I'm strongly against dhcp clients overwriting
 > > system config files by default. Just because all the broken mainstream
 > > ones do it doesn't mean its a good idea.
 > 
 > I'm just curious, because I'm always been irritated about dhcp clients
 > modifying the /etc/resolv.conf file. Do you have any better suggestions
 > how a dhcp client should set the nameservers without modifying
 > /etc/resolv.conf?

i don't believe there's an alternative to modifying the file -- the
client libraries look in that file, and nowhere else, for their config.

on the other hand, the one and only time i've ever used "chattr
+i" was to make resolv.conf immutable, to keep some vpn software
from changing it out from under me.

paul
=---------------------
 paul fox, pgf at brightstareng.com


More information about the busybox mailing list