]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
More changes in the same version:
authorchip <chip>
Fri, 14 Dec 2001 02:52:19 +0000 (02:52 +0000)
committerchip <chip>
Fri, 14 Dec 2001 02:52:19 +0000 (02:52 +0000)
 * Use --name instead of --exec when stopping daemons;
   the running binary may have been renamed or removed.

debian/changelog
debian/nfs-common.init
debian/nfs-kernel-server.init

index 60cf766a77070a12660c97afaf21c25a0465449f..0000c0ef6c4f951cb387d585b3d8141e2a320e18 100644 (file)
@@ -3,7 +3,7 @@ nfs-utils (1:0.3.3-5) unstable; urgency=high
   * Keep NFS fully operational during upgrade.  (closes: #76544)
   * When calling update-rc.d, send stdout to /dev/null, but not stderr.
 
- -- Chip Salzenberg <chip@debian.org>  Thu, 13 Dec 2001 18:30:36 -0800
+ -- Chip Salzenberg <chip@debian.org>  Thu, 13 Dec 2001 18:50:47 -0800
 
 nfs-utils (1:0.3.3-4) unstable; urgency=high
 
index 78edad134214dc75313490e179067785ccb0301d..31357bd3543ff1df58d49b66a311776a1a55b81f 100755 (executable)
@@ -48,11 +48,11 @@ case "$1" in
        then
            printf " lockd"
            start-stop-daemon --stop --oknodo --quiet \
-               --exec $PREFIX/sbin/rpc.lockd
+               --name rpc.lockd --user 0
        fi
        printf " statd"
        start-stop-daemon --stop --oknodo --quiet \
-           --exec $PREFIX/sbin/rpc.statd
+           --name rpc.statd --user 0
        echo "."
        ;;
 
index db04b538a5a2e35e5ffe01ac59418ea5ef1ef208..548b5e057ffc0a78879617a3494c7a205f13cdd6 100755 (executable)
@@ -49,10 +49,10 @@ case "$1" in
   stop)
        printf "Stopping $DESC: mountd"
        start-stop-daemon --stop --oknodo --quiet \
-           --exec $PREFIX/sbin/rpc.mountd
+           --name rpc.mountd --user 0
        printf " nfsd"
        start-stop-daemon --stop --oknodo --quiet \
-           --name nfsd --user root --signal 2
+           --name nfsd --user 0 --signal 2
        echo "."
 
        printf "Unexporting directories for $DESC..."