[Pkg-sysvinit-devel] Bug#652859: "fix" for 631077 breaks NFS mounting

Jamie Heilman jamie at audible.transient.net
Wed Dec 21 06:39:14 UTC 2011


Package: initscripts
Severity: important
Version: 2.88dsf-16

The refactoring in 0704dd152138822ede1e7b983d15c1b9da8f8077
completely inverts the conditional logic in the
exit_unless_last_interface subroutine and breaks NFS mounting.

You went from:  [ `grep -c pattern file` -eq "0" ]
           to:  grep -q pattern file

Either revert that commit or make it "! grep -q ..."; as you're trying
to determine if all the interfaces marked auto are up yet, exiting as
soon as you find any interface that is up doesn't make any sense at
all.

Also as a total side-effect of the switch from a while to a for loop,
you've addressed bug 612378.





More information about the Pkg-sysvinit-devel mailing list