Package: initscripts
Version: 2.88dsf-41
Severity: important
Tags: patch
When doing ifup -a (as done on boot) it can happen that lo is brought up last.
Then the combination of
# Not for loopback!
[ "$IFACE" != "lo" ] || exit 0
and
# Wait until all auto interfaces are up before attemting to mount
# network file systems.
exit_unless_last_interface
ensures that nfs is not mounted.Attached patch ignores lo in exit_unless_last_interface. Greetings Timo
--- mountnfs.dpkg-dist 2012-10-15 19:30:41.000000000 +0200
+++ mountnfs 2013-04-09 15:45:56.375942703 +0200
@@ -121,6 +121,9 @@
exit_unless_last_interface() {
ifaces="$(ifquery --list)"
for i in $ifaces ; do
+ if [ "$i" = "lo" ]; then
+ continue
+ fi
if ! grep -q $i /etc/network/run/ifstate ; then
msg="if-up.d/mountnfs[$IFACE]: waiting for interface $i before doing NFS mounts"
log_warning_msg "$msg"
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Pkg-sysvinit-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-sysvinit-devel

