Docunext


nfs user server on Debian OpenVZ

January 29th, 2009

I changed this in /etc/init.d/nfs-user-server:

        start-stop-daemon --start --oknodo --quiet --exec /usr/sbin/rpc.nfsd -- -r
        printf " nfsd"
        start-stop-daemon --start --oknodo --quiet --exec /usr/sbin/rpc.mountd
        -- -r
        printf " mountd"
        printf ".\n"
        ;;
stop)
        printf "Stopping $DESC:"
        start-stop-daemon --stop --oknodo --quiet --exec /usr/sbin/rpc.mountd
        printf " mountd"
        start-stop-daemon --stop --oknodo --quiet --exec /usr/sbin/rpc.nfsd
        printf " nfsd"
        printf ".\n"
        ;;
reload | force-reload)
        printf "Reloading $DESC' configuration files.\n"
        start-stop-daemon --stop --signal 1 --quiet --exec /usr/sbin/rpc.mountd -- -r
        start-stop-daemon --stop --signal 1 --quiet --exec /usr/sbin/rpc.nfsd -- -r

Specifically the "-- -r" text at the end of the start-stop-daemon lines. Debian should probably include options in the /etc/default/nfs-user-kernel file.

¥

Yearly Indexes: 2003 2004 2006 2007 2008 2009 2010 2011 2012 2013 2015 2019 2020 2022