[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#370471: use of "invoke-rc.d $PACKAGE stop || exit $?" in prerm scripts

On Mon, Jun 05, 2006 at 03:36:30PM +0300, Lars Wirzenius wrote:
> Package: debian-policy
> Version:
> The policy manual says (9.3.2 Writing the scripts):
>         The init.d scripts should ensure that they will behave sensibly
>         if invoked with start when the service is already running, or
>         with stop when it isn't, and that they don't kill
>         unfortunately-named user processes.
> Would it be acceptable to change this to say "must ensure"?

I would second that.  There a whole lot of s/should/must/ I would second
in that section.  To start with, this one:

     The `start', `stop', `restart', and `force-reload' options should be
     supported by all scripts in `/etc/init.d', the `reload' option is

Bill. <ballombe@debian.org>

Imagine a large red swirl here. 

Attachment: pgp5buDuNWYMt.pgp
Description: PGP signature

Reply to: