[Pkg-sysvinit-devel] Bug#419195: Bug#419195: initscripts: if-up.d/mountnfs should only run after all interfaces have been brought up at boot; hangs boot

Michal Mihalik michal.mihalik at petitpress.sk
Fri Aug 3 16:21:02 UTC 2007


Hi
I just run into same problem but the workaround is a bit harder.
I have about 20 vlans an 20 bridges in my setup
and none of them realy connnects nfs because nfsserver is down. (will be 
started later in xen).. but whatever reason.
I would like to mount it with bg.
But the boot up takes 40minutes because two mounts on 40 ifups x cca 60secs.
mountnfs should be really run ONCE.  nfs is designed that it can mount 
tihngs later if neeeded.

PLEASE fix.
  my fix to mountnfs  is not good bu it can help for some people. (put 
it into background imediatly)
   (pre_mountall
     if [ "$NETFS" ]
      then
            mount -a -t$NETFS
      fi
      if [ "$NETDEV" ]; then
             mount -a -O _netdev
      fi
     post_mountall)&

Mike.










More information about the Pkg-sysvinit-devel mailing list