[Pkg-sysvinit-devel] Bug#674039: /etc/network/if-up.d/mountnfs: boot stalls by 3 minutes because network is not configured yet (using network-manager)
Andrei POPESCU
andreimpopescu at gmail.com
Tue May 22 17:30:05 UTC 2012
Package: initscripts
Version: 2.88dsf-22.1
Severity: normal
File: /etc/network/if-up.d/mountnfs
Hello,
I'm using network-manager and have a NFS share configured in fstab.
After upgrading to latest ifupdown (0.7~rc3) the boot is stalling for 3
minutes. Here is the relevant excerpt from /var/log/boot
Tue May 22 19:16:25 2012: [....] Configuring network interfaces...Starting rpcbind daemon....
Tue May 22 19:16:26 2012: Starting NFS common utilities: statd idmapd.
Tue May 22 19:19:26 2012: mount.nfs: Connection timed out
I'm guessing this is triggered by this change in ifupdown:
* Call hook scripts when processing all interfaces:
- If ifupdown is called with the --all option, before or after doing
anything to the interfaces, it calls all the hook scripts (pre-up or
down) with IFACE set to "--all", LOGICAL set to the current class
specified by the --allow option (or "auto" if it's not set),
ADDRFAM="meta" and METHOD="none".
As far as I can tell the mount can't succeed because I'm using
network-manager which is started only later:
Tue May 22 19:19:33 2012: [....] Starting network connection manager: NetworkManager
Thanks for reading,
Andrei
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=ro_RO.UTF-8, LC_CTYPE=ro_RO.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages initscripts depends on:
ii coreutils 8.13-3.2
ii debianutils 4.3
ii libc6 2.13-32
ii lsb-base 4.1+Debian4
ii mount 2.20.1-5
ii sysv-rc 2.88dsf-22.1
ii sysvinit-utils 2.88dsf-22.1
ii ucf 3.0025+nmu3
Versions of packages initscripts recommends:
ii e2fsprogs 1.42.2-2
ii psmisc 22.16-1
initscripts suggests no packages.
-- no debconf information
More information about the Pkg-sysvinit-devel
mailing list