Your message dated Sun, 13 Jan 2008 09:32:07 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#460463: fixed in sysvinit 2.86.ds1-49
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: initscripts
Version: 2.86.ds1-47
Severity: important
Tags: patch
*** Please type your report below this line ***
Additional white space or tab characters on an "auto lo" or "auto eth0"
(etc.)
line in /etc/network/interfaces break ifup completly.
| acertux:~# ifup eth0
| if-up.d/mountnfs[eth0]: waiting for interface before doing NFS mounts
The reason is a bug in mountnfs. This line tries to delete white space
and tab
characters but fails with trailing since a newline is added.
sed -e 's/[ \t]*auto[ \t]*//;s/[ \t]/\n/g' | while read i; do
To reproduce make sure that /etc/network/interfaces has one line "auto
lo " (the
trailing white space is very important) and "auto eth0". "auto eth0" must be
below the "auto lo " line.
This is again from mountnfs
grep "^[:space:]*auto" /etc/network/interfaces | \
- sed -e 's/[ \t]*auto[ \t]*//;s/[ \t]/\n/g' | while read i; do
After the call to grep the output looks like (note again the white space
following lo )
| auto lo
| auto eth0
The sed call substitutes this to
| lo
|
| eth0
The additional newline doesent pass the grep test in the next line
if [ `grep -c $i /etc/network/run/ifstate` -eq "0" ]; then
This patch fixes the problem:
--- /etc/network/if-up.d/mountnfs 2007-12-27 10:56:44.000000000 +0100
+++ mountnfs.new 2008-01-12 22:34:14.000000000 +0100
@@ -115,7 +115,7 @@
exit_unless_last_interface() {
grep "^[:space:]*auto" /etc/network/interfaces | \
- sed -e 's/[ \t]*auto[ \t]*//;s/[ \t]/\n/g' | while read i; do
+ sed -e 's/[ \t]*auto[ \t]*//;s/[ \t]//g' | while read i; do
if [ `grep -c $i /etc/network/run/ifstate` -eq "0" ]; then
msg="if-up.d/mountnfs[$IFACE]: waiting for interface $i before
doing NFS mounts"
log_warning_msg "$msg"
Hope that helps,
Markus
As a side note: instead of the mkdir .../mountnfs_earlyexit (on the
following
lines) one could use and exit 0 statement right away.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-3-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages initscripts depends on:
ii debianutils 2.28.2 Miscellaneous utilities
specific t
ii e2fsprogs 1.40.3-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-8 Tools for mounting and
manipulatin
ii sysvinit-utils 2.86.ds1-47 System-V-like utilities
Versions of packages initscripts recommends:
ii psmisc 22.6-1 Utilities that use the proc
filesy
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: sysvinit
Source-Version: 2.86.ds1-49
We believe that the bug you reported is fixed in the latest version of
sysvinit, which is due to be installed in the Debian FTP archive:
initscripts_2.86.ds1-49_i386.deb
to pool/main/s/sysvinit/initscripts_2.86.ds1-49_i386.deb
sysv-rc_2.86.ds1-49_all.deb
to pool/main/s/sysvinit/sysv-rc_2.86.ds1-49_all.deb
sysvinit-utils_2.86.ds1-49_i386.deb
to pool/main/s/sysvinit/sysvinit-utils_2.86.ds1-49_i386.deb
sysvinit_2.86.ds1-49.diff.gz
to pool/main/s/sysvinit/sysvinit_2.86.ds1-49.diff.gz
sysvinit_2.86.ds1-49.dsc
to pool/main/s/sysvinit/sysvinit_2.86.ds1-49.dsc
sysvinit_2.86.ds1-49_i386.deb
to pool/main/s/sysvinit/sysvinit_2.86.ds1-49_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Petter Reinholdtsen <[EMAIL PROTECTED]> (supplier of updated sysvinit package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sun, 13 Jan 2008 10:19:22 +0100
Source: sysvinit
Binary: sysv-rc sysvinit-utils sysvinit initscripts
Architecture: source i386 all
Version: 2.86.ds1-49
Distribution: unstable
Urgency: low
Maintainer: Debian sysvinit maintainers <[EMAIL PROTECTED]>
Changed-By: Petter Reinholdtsen <[EMAIL PROTECTED]>
Description:
initscripts - Scripts for initializing and shutting down the system
sysv-rc - System-V-like runlevel change mechanism
sysvinit - System-V-like init utilities
sysvinit-utils - System-V-like utilities
Closes: 415525 460463
Changes:
sysvinit (2.86.ds1-49) unstable; urgency=low
.
* Handle trailing space after interface names in
/etc/network/interfaces when checking if the last interface has
been enabled for NFS mounting (Closes: #460463).
* New patch 27_last_usageopts to document options -adi in last usage
output (Closes: #415525).
Files:
8a80bf72ffd62cd54952ece46cfc7e07 1037 admin required sysvinit_2.86.ds1-49.dsc
70da966f60bc2e187c11f8c1210777a1 147656 admin required
sysvinit_2.86.ds1-49.diff.gz
b7f2108e6e0fca370f8ac9a12184255c 109836 admin required
sysvinit_2.86.ds1-49_i386.deb
4156a58f583764ce03dcb5142fca7605 68556 admin required
sysvinit-utils_2.86.ds1-49_i386.deb
2595b88902ea9c20b2635a7e866bd2c1 65660 admin required
initscripts_2.86.ds1-49_i386.deb
aceccd385747b8ec47bbc53d67746e78 60380 admin required
sysv-rc_2.86.ds1-49_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHidgC20zMSyow1ykRAgDAAKDJ9jU+6ZjWdP3oivFgsjAmSLSe8gCgvwx6
CPRDM6NLk4hmOYtN5pH4HQs=
=lXCn
-----END PGP SIGNATURE-----
--- End Message ---