Is attached. 1. stop() used to kill all processes named 'rpcbind' - which includes the init script itself. adding --exec /usr/sbin/rpcbind fixes that. 2. Removes an embarrassing remnant from pulseaudio's init script.
==========================
--- rpcbind.prev 2010-01-04 22:18:16.527098069 +0200
+++ rpcbind 2010-01-04 22:51:46.965662535 +0200
@@ -17,8 +17,6 @@
. /lib/lsb/init-functions
-test -f /etc/default/pulseaudio && . /etc/default/pulseaudio
-
rpcbind_start () {
log_begin_msg "Starting rpcbind Daemon"
start-stop-daemon --name rpcbind --exec $DAEMON --start --
@@ -28,7 +26,7 @@
rpcbind_stop () {
log_begin_msg "Stopping rpcbind Daemon"
- start-stop-daemon --name rpcbind --stop --retry 5 || echo -n "...
rpcbind is not running"
+ start-stop-daemon --name rpcbind --exec $DAEMON --stop --retry 5 ||
echo -n "... rpcbind is not running"
log_end_msg $?
}
rpcbind
Description: application/shellscript

