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

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

Bill Allombert <allomber@math.u-bordeaux.fr> wrote:

> 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
>      optional.

Does anybody have an idea how the description of restart could be worded
better to make #224937 a violation of a must-clause?  It's annoying when
maintainers insist on a clearly not-intended interpretation of policy.

Regards, Frank
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX)

Reply to: