tags 473920 + pending thanks On Wed, 2008-04-02 at 12:20 +0200, Petter Reinholdtsen wrote: > When trying to upgrade libnss-ldapd while nslcd was stopped, the > upgrade failed. This was the output: [...] > The problem is that the init.d script return an error when called with > argument 'stop' and nslcd is already stopped. This is as far as I > understand it, a policy violation, as the init.d script should return > ok when asked to stop a daemon that is already stopped.
There was some discussion some time ago about the proper exit codes for init scripts. From what I remember policy conflicted with the LSB [1] (for that matter /etc/init.d/skeleton still is wrong [2]). Anyway, policy seems to be fixed now (for the stop and start part, not for the uninstalled/unconfigured cases) so I've also fixed my init scripts. Thanks for reporting this. [1] http://bugs.debian.org/346598 [2] http://bugs.debian.org/427889 -- -- arthur - [EMAIL PROTECTED] - http://people.debian.org/~adejong --
signature.asc
Description: This is a digitally signed message part

