[Pkg-sysvinit-devel] Bug#346415: mountnfs.sh doesn't work with the "bg" mount option

Tore Anderson tore at debian.org
Sat Jan 7 18:33:58 UTC 2006


Package: initscripts
Version: 2.86.ds1-6

  I've got the following line in /etc/fstab:

    lust.fud.no:/fud /fud nfs defaults,tcp,bg 0 0

  If i stop the NFS server on lust.fud.no, and run
 "/etc/init.d/mountnfs.sh start", the scripts prints

    Mounting remote filesystems...mount: RPC: Program not registered
    mount: backgrounding "lust.fud.no:/fud"
    done.

  and just hangs.  It does that during bootup, too.  It seems it isn't
 able background the mount process properly.  When I start the NFS
 service on lust the mount succeeds after a little while, and the script
 exits.  When I do "mount -a -t nfs", the "bg" option works as expected,
 so I don't think this is a bug in mount(8).

-- 
Tore Anderson





More information about the Pkg-sysvinit-devel mailing list