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.

I think the ipv6 module should be auto-loaded by something like this
in the etc/modprobe.conf:

alias net-pf-10 ipv6

Maybe this changed since I last used it?

Regarding the setterm, I just noticed with the last updates of util-linux
and coreutils quite some binaries shuffled between usr/{sbin,bin} and
just {sbin,bin} - also the reason for the pwd breakage in the other mail.

I think we're better of just fixing those packages to install into /bin and
/usr/bin as  they did before to avoid a whole lot of other trouble in the
end.

I try to take a look "soonish" (which might be in some days ...) so
patches welcome as always!

Yours,

Regards

Adam

-----Original Message-----
From: René Rebe [mailto:[EMAIL PROTECTED] Sent: 26 July 2008 08:46
To: Adam Stirk
Cc: T2 developers mailing list
Subject: Re: [t2] dhclient

Hi Adam,

Adam Stirk wrote:
I'm having a problem with the dhcp package, in the fact that when you set an interface to dhcp it doesn't work.

The issue lies with the dhclient part of the package when it tries and executes the dhclient-script as it is located in the /sbin directory as it cannot find it. I moved the script to /etc only to find I got a bunch of cannot find ifconfig etc errors. I added to the top of the dhclient-script 'echo $PATH' and found that the /sbin folder is missing after comparing it to the v7.0 output.

I think the issue lies with the CLIENT_PATH variable, any ideas how I can fix this?

Thanks

Adam

I noticed this, too - this breakage was introduced with the dhcp 4.0 update.

It's already on my TODO, but I did not yet had the time to review the most
standard / upstream conforming solution.

Patches welcome.

Yours,
--
 René Rebe - ExactCODE GmbH - Europe, Germany, Berlin
 http://exactcode.de | http://t2-project.org | http://rene.rebe.name



----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of: unsubscribe t2

Reply via email to