|
Re: dhclient: msg#00014t2.devel
Hi, Am Montag, den 04.08.2008, 16:20 +0200 schrieb René Rebe: > Hi, > > Adam Stirk wrote: > > Hi René, > > > > I have attached my fix for the dhcp package, I don't know whether the is > > the most standard/upstream conforming solution but it works. I have added a > > path.path which fixes the problem with the paths sent to the > > dhclient-script (these may need looking at I set them the same as the v3 > > package). I have also moved the dhclient-script to the /etc folder as > > dhclient only looks here for the file (doesn't use the $PATH anymore, it > > could be moved back to the bin folder with some configuration changes). I > > have also added a test in the rocknet script to see if the ipv6 > > functionality has been loaded if not it loads the module. (Again this might > > be better put into the kernel instead of a module so that it is always > > there as more apps are designed with ipv6 in mind) > > > > I have also included a patch for sysvinit as setterm has moved from > > /usr/bin to /bin. > > > Thanks for the patches. > > I applied the dhcp stuff with variations: avoid the ucs in the PATH and try > sbin before bin and removed filling the site.conf which apparently it no > longer used by the new, autoconfiscated Makefiles. > > Committed revision 29896. > [ ...] this solution has disadvantages and does not work out-of-the-box, as the default dhclient.conf is invalid, and now dhcp relies on a correct entry for the dhclient-script, like 'script "/etc/dhclient-script";'. The original error stems from the fact that bash does not have a default path that includes /sbin and therefore dhclient cannot exec the dhclient-script. The attached patch for bash fixes the default path. I think it would be better if dhclient works without an existing dhclient.conf, so we should revert r29896. Michael
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | autogen=1 (fam build error): 00014, Gerhard Weis |
|---|---|
| Next by Date: | target : generic embedded: 00014, Martin Papadopoulos |
| Previous by Thread: | autogen=1 (fam build error)i: 00014, Gerhard Weis |
| Next by Thread: | Re: dhclient: 00014, René Rebe |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |