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

Bug#721088: initramfs-tools: nfsroot with pxelinux fails on systems with multiple NICs



* Martin Mares [Tue Aug 27, 2013 at 10:49:38PM +0200]:

> When I try to use Debian initramfs to mount root over NFS on a machine with
> multiple NICs, it never succeeds, because the initramfs configures all NICs
> with the same IP address.

[...]
> I propose the following fix: In the "complex ip parameter" case (around line
> 393 in my version of the scripts/functions file), the DEVICE variable should
> be checked and if it already set, ipconfig should be run only on the selected
> device.

> Also, the NEW_DEVICE logic below that call to ipconfig is likely wrong for the
> same reason. I think it should be moved to the same place where the BOOTIF
> check resides.

Hm, your approach sounds good to me. If it doesn't break any setups
by modifying existing behaviour I'm totaly in favor of it.

> If you wish, I can provide a patch.

That would be definitely appreciated.

Thanks for your detailed bug report and willingness to fix it.

regards,
-mika-

Attachment: signature.asc
Description: Digital signature


Reply to: