[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH] Use libnl and dhclient in nash for network configuration.



Jeremy Katz wrote:
> On Wed, 2008-12-03 at 09:59 -0500, Jeremy Katz wrote:
>> On Tue, 2008-12-02 at 12:00 -1000, David Cantrell wrote:
>>> This patch modifies nash to use dhclient when the 'network'
>>> command requests dhcp.  Instead of firing off dhclient-script,
>>> nash reads the leases file directly and extracts the information.
>>> The nashSetupInterface() function is then called (which is also
>>> the case for manual network configuration) to configure the
>>> interface.  nashSetupInterface() uses libnl to add the address
>>> and set the default gateway.
>> Looks okay to me.  While I'd like to get bigger initrd changes done for
>> F11, I suspect that's not realistically going to happen and this will at
>> least let us finish killing off libdhcp.  
> 
> Oh -- we probably also need a change to mkinitrd that pulls dhclient
> into the initrd
> 

New patch sent.  One line to mkinitrd.

-- 
David Cantrell <dcantrell redhat com>
Red Hat / Honolulu, HI


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]