reopen 574624 thanks I've just installed dibbler-client, and I initally told it not to start up on boot (in debconf). Later, changing my mind, I decide to dpkg-reconfigure dibbler-client to switch the setting. However, this failed when trying to stop the service, because the service was not running.
Stopping DHCPv6 client: invoke-rc.d: initscript dibbler-client, action "stop" failed. The -1.2 upload of dibbler only fixed the init script's "restart" case to not fail when the service is not running. According to policy, the "stop" case should also return successfully when the service is not running. The fix is the same as the one applied to the restart case, replacing "; true" with "|| true". Patch attached. -- Chris Butler <chr...@debian.org> GnuPG Key ID: 4096R/49E3ACD3
--- debian/dibbler-client.init.orig 2010-09-17 21:17:56.618170512 +0100 +++ debian/dibbler-client.init 2010-09-17 21:18:19.798169522 +0100 @@ -45,7 +45,7 @@ ;; stop) echo -n "Stopping $DESC: " - ($DAEMON stop 2>&1 > /dev/null; true) + ($DAEMON stop 2>&1 > /dev/null || true) echo "$NAME." ;; status)