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.

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


Attachment: dhcp.patch
Description: dhcp.patch

Attachment: sysvinit.patch
Description: sysvinit.patch

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

Reply via email to