[Pkg-sysvinit-devel] Bug#481028: initscripts: if-up.d/mountnfs too chatty on startup with multiple interfaces

Peter Rabbitson rabbit+bugs at rabbit.us
Tue May 13 09:27:49 UTC 2008


Package: initscripts
Version: 2.86.ds1-56
Severity: minor


When booting a server with multiple physical and virtual interfaces the
mountnfs plugin emits a screenfull of useless messages. I tried to make sense
of the waiting loop but failed to grok it altogether. This behavior is not 
exhibited on single-interface setups. 

Example startup:
---------------

...
Mon May 12 05:14:55 2008: Setting up networking....
Mon May 12 05:14:55 2008: Configuring network interfaces...if-up.d/mountnfs[lan_main]: waiting for interface lan_untr before doing NFS mounts
Mon May 12 05:14:55 2008: if-up.d/mountnfs[lan_main]: waiting for interface wan_a before doing NFS mounts
Mon May 12 05:14:55 2008: if-up.d/mountnfs[lan_main]: waiting for interface wan_a:1 before doing NFS mounts
Mon May 12 05:14:55 2008: if-up.d/mountnfs[lan_main]: waiting for interface wan_a:2 before doing NFS mounts
Mon May 12 05:14:55 2008: if-up.d/mountnfs[lan_main]: waiting for interface wan_a:3 before doing NFS mounts
Mon May 12 05:14:55 2008: if-up.d/mountnfs[lan_main]: waiting for interface wan_a:4 before doing NFS mounts
Mon May 12 05:14:55 2008: if-up.d/mountnfs[lan_main]: waiting for interface wan_b before doing NFS mounts
Mon May 12 05:14:55 2008: if-up.d/mountnfs[lan_main]: waiting for interface tun_cc before doing NFS mounts
Mon May 12 05:14:56 2008: if-up.d/mountnfs[lan_untr]: waiting for interface wan_a before doing NFS mounts
Mon May 12 05:14:56 2008: if-up.d/mountnfs[lan_untr]: waiting for interface wan_a:1 before doing NFS mounts
Mon May 12 05:14:56 2008: if-up.d/mountnfs[lan_untr]: waiting for interface wan_a:2 before doing NFS mounts
Mon May 12 05:14:56 2008: if-up.d/mountnfs[lan_untr]: waiting for interface wan_a:3 before doing NFS mounts
Mon May 12 05:14:56 2008: if-up.d/mountnfs[lan_untr]: waiting for interface wan_a:4 before doing NFS mounts
Mon May 12 05:14:56 2008: if-up.d/mountnfs[lan_untr]: waiting for interface wan_b before doing NFS mounts
Mon May 12 05:14:56 2008: if-up.d/mountnfs[lan_untr]: waiting for interface tun_cc before doing NFS mounts
Mon May 12 05:14:56 2008: if-up.d/mountnfs[wan_a]: waiting for interface wan_a:1 before doing NFS mounts
Mon May 12 05:14:56 2008: if-up.d/mountnfs[wan_a]: waiting for interface wan_a:2 before doing NFS mounts
Mon May 12 05:14:56 2008: if-up.d/mountnfs[wan_a]: waiting for interface wan_a:3 before doing NFS mounts
Mon May 12 05:14:56 2008: if-up.d/mountnfs[wan_a]: waiting for interface wan_a:4 before doing NFS mounts
Mon May 12 05:14:56 2008: if-up.d/mountnfs[wan_a]: waiting for interface wan_b before doing NFS mounts
Mon May 12 05:14:56 2008: if-up.d/mountnfs[wan_a]: waiting for interface tun_cc before doing NFS mounts
Mon May 12 05:14:56 2008: if-up.d/mountnfs[wan_a:1]: waiting for interface wan_a:2 before doing NFS mounts
Mon May 12 05:14:56 2008: if-up.d/mountnfs[wan_a:1]: waiting for interface wan_a:3 before doing NFS mounts
Mon May 12 05:14:56 2008: if-up.d/mountnfs[wan_a:1]: waiting for interface wan_a:4 before doing NFS mounts
Mon May 12 05:14:56 2008: if-up.d/mountnfs[wan_a:1]: waiting for interface wan_b before doing NFS mounts
Mon May 12 05:14:56 2008: if-up.d/mountnfs[wan_a:1]: waiting for interface tun_cc before doing NFS mounts
Mon May 12 05:14:57 2008: if-up.d/mountnfs[wan_a:2]: waiting for interface wan_a:3 before doing NFS mounts
Mon May 12 05:14:57 2008: if-up.d/mountnfs[wan_a:2]: waiting for interface wan_a:4 before doing NFS mounts
Mon May 12 05:14:57 2008: if-up.d/mountnfs[wan_a:2]: waiting for interface wan_b before doing NFS mounts
Mon May 12 05:14:57 2008: if-up.d/mountnfs[wan_a:2]: waiting for interface tun_cc before doing NFS mounts
Mon May 12 05:14:57 2008: if-up.d/mountnfs[wan_a:3]: waiting for interface wan_a:4 before doing NFS mounts
Mon May 12 05:14:57 2008: if-up.d/mountnfs[wan_a:3]: waiting for interface wan_b before doing NFS mounts
Mon May 12 05:14:57 2008: if-up.d/mountnfs[wan_a:3]: waiting for interface tun_cc before doing NFS mounts
Mon May 12 05:14:57 2008: if-up.d/mountnfs[wan_a:4]: waiting for interface wan_b before doing NFS mounts
Mon May 12 05:14:57 2008: if-up.d/mountnfs[wan_a:4]: waiting for interface tun_cc before doing NFS mounts
Mon May 12 05:14:57 2008: if-up.d/mountnfs[wan_b]: waiting for interface tun_cc before doing NFS mounts
Mon May 12 05:14:57 2008: Starting virtual private network daemon: vpn.main(OK).
Mon May 12 05:14:57 2008: done.
...


Corresponding /etc/network/interfces:
-------------------------------------

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

auto lan_main
auto lan_untr
auto wan_a
auto wan_a:1
auto wan_a:2
auto wan_a:3
auto wan_a:4
auto wan_b

auto tun_cc

iface wan_a inet static
    address xxx.xxx.xxx.xxx
    netmask 255.255.255.248
    
iface wan_a:1 inet static
    address xxx.xxx.xxx.yyy
    netmask 255.255.255.248
    
iface wan_a:2 inet static
    address xxx.xxx.xxx.zzz
    netmask 255.255.255.248
    
iface wan_a:3 inet static
    address xxx.xxx.yyy.yyy
    netmask 255.255.255.252

iface wan_a:4 inet static
    address xxx.xxx.zzz.zzz
    netmask 255.255.255.252

iface wan_b inet static
    address yyy.yyy.yyy.yyy
    netmask 255.255.255.252

iface lan_main inet static
    address 192.168.58.1
    netmask 255.255.255.0

iface lan_untr inet static
    address 192.168.8.1
    netmask 255.255.255.0

iface tun_cc inet manual
    openvpn vpn.main





More information about the Pkg-sysvinit-devel mailing list