[Pkg-sysvinit-devel] Bug#461011: initscripts: mountnfs fails with multiple interfaces on "auto" line in /etc/network/interfaces

Nicholas Breen nbreen at ofb.net
Wed Jan 16 07:03:13 UTC 2008


Package: initscripts
Version: 2.86.ds1-49
Severity: normal

When multiple interfaces are specified on one "auto" stanza in
/etc/network/interfaces (as with the first example in its man page), the
regular expression in the exit_unless_last_interface() function of the
/etc/network/if-up.d/mountnfs script collapses them into one:

% grep auto /etc/network/interfaces
auto lo eth0
% grep "^[:space:]*auto" /etc/network/interfaces  | \ 
  sed -e 's/[ \t]*auto[ \t]*//;s/[ \t]//g'
loeth0

Since "loeth0" does not exist, NFS mounting fails to occur.


-- 
Nicholas Breen
nbreen at ofb.net


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.23 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages initscripts depends on:
ii  debianutils                 2.28.2       Miscellaneous utilities specific t
ii  e2fsprogs                   1.40.4-1     ext2 file system utilities and lib
ii  libc6                       2.7-5        GNU C Library: Shared libraries
ii  lsb-base                    3.1-24       Linux Standard Base 3.1 init scrip
ii  mount                       2.13.1~rc2-2 Tools for mounting and manipulatin
ii  sysvinit-utils              2.86.ds1-49  System-V-like utilities

Versions of packages initscripts recommends:
ii  psmisc                        22.6-1     Utilities that use the proc filesy

-- no debconf information





More information about the Pkg-sysvinit-devel mailing list