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

Bug#208010: [PROPOSAL] init script LSB 1.3 compliance

On Wed, Sep 03, 2003 at 21:20:15 +0200, Martin Godisch wrote:

> > This one will break removing and upgrading packages; dpkg checks the
> > exit code of maintainer scripts, assuming they failed if the exit code
> > was nonzero. Given the fact it is recommended by policy to use set -e in
> > maintainer scripts, dpkg will pick up this exit code and mark the
> > package as failed in the deconfiguration phase.  Either this requirement
> > should be removed, or policy should warn maintainers of that fact.
> In the deconfiguration phase "invoke-rc.d package stop" is run. What
> error do you imagine here, which should not be reported to/by dpkg?

There's an --oknodo missing in the stop target of the example, right?
In order to behave sensibly if the service isn't running?

Kind regards,


Reply to: