Re: NFS root with Dracut not calling nfsroot script

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

 



Hy Daniel

On 10/04/2010 01:20 PM, daniel@xxxxxxxxxx wrote:
> Thanks Harald.
> 
> Quoting Harald Hoyer<harald@xxxxxxxxxx>:
> 
>> So, it seeems like your dhclient does not support one of the options
>> (most likely "-4").
>> You might want to try dhclient version>  4 or modify
>> /usr/share/dracut/modules.d/40network/ifup and remove "-4" from
>> "do_dhcp -4".
> 
> I've updated the dhclient to 4.10. I've attached a new init.log. It's
> still not working. There appears to be an error around the same point.

Actually the dhclient version inside your image is still 3.1.2p1:
[quote]
ifup.eth0.783 + dhclient -4 -1 -q -cf /etc/dhclient.conf -pf /tmp/dhclient.eth0.pid -lf /tmp/dhclient.eth0.lease eth0
Internet Systems Consortium DHCP Client V3.1.2p1-Gentoo
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Usage: dhclient [-1dqrx] [-nw] [-p <port>] [-s server]
[-cf config-file] [-lf lease-file][-pf pid-file] [-e VAR=val]
[-sf script-file] [interface]
[/quote]

Im running dracut NFSroot on debian with dhclient 3.1.1 without errors. Just remove the -4 in ifup and everything should (hopefully) work out.

Regards,
Philippe
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux