Package: nfs-common
Version: 1.0.7-4
Severity: important
Tags: patch

When NEED_LOCKD is not set to "yes" and lockd is not running, the
nfs-common init script uses pkill to kill any running lockds anyway.
This call is not protected with a "|| true" clause, and the init
script fails to stop and restart because it uses "set -e".  This also
affects package upgrades.


--- nfs-common~ 2006-03-28 08:48:08.000000000 +0100
+++ nfs-common  2006-03-28 08:48:16.000000000 +0100
@@ -133,7 +133,7 @@
            start-stop-daemon --stop --oknodo --quiet \
                --name rpc.lockd || true
        else
-           pkill -KILL -u root -x lockd
+           pkill -KILL -u root -x lockd || true
        fi
        printf " statd"
        start-stop-daemon --stop --oknodo --quiet \


Cheers,
Stelios Bounanos (sb()enotty()net)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to