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

Bug#575766: initramfs-tools: configure_networking function fails if no DEVICE is specified



On Sun, Apr 04, 2010 at 02:32:43AM +0200, maximilian attems wrote:
> On Sun, 28 Mar 2010, Vagrant Cascadian wrote:
> 
> > the configure_networking function relies on DEVICE being set, and
> > conf/initramfs.conf hard-codes this to eth0. though some scripts may call this
> > from /scripts/local-top, and DEVICE may not be set. even when it is set, it
> > hard-coding it to eth0 may be the wrong network interface.
> > 
> > the following patch should partially address this by checking for DEVICE when
> > not defined, and using the first interface with an active link.
> 
> this looks very similar to #566295
> 
> did you have a look at the proposed patch of
> http://bugs.debian.org/566295

yes, that addresses the issue much more simply. i'd recommend going with that
instead of my patch.

live well,
  vagrant



Reply to: