-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
sorry for the delayed answer.
Steinar H. Gunderson schrieb:
> The only code path that _doesn't_ work is when there is a pid file but the
> web server does not run.
Ah, now I understand. My "|| true" proposal was wrong anyway, as Steve
and Stephen
On Mon, Aug 28, 2006 at 08:40:14PM +0200, Bastian Kleineidam wrote:
> if the thttpd daemon is not running, the prerm script fails, since
> "/etc/init.d/thttpd stop" fails to exit with a zero status.
This is just plain wrong:
trofast:/usr/src/thttpd-2.23beta1# sh debian/thttpd.rc stop ; echo $?
On Thu, Aug 31, 2006 at 09:23:47PM +0200, Bastian Kleineidam wrote:
> Steve Langasek schrieb:
> > On Wed, Aug 30, 2006 at 08:39:10PM +0200, Bastian Kleineidam wrote:
> >> What should be done then in prerm when the stop command fails?
> > Why is the stop command failing?
> It fails when the daemon
This one time, at band camp, Bastian Kleineidam said:
> Steve Langasek schrieb:
> > On Wed, Aug 30, 2006 at 08:39:10PM +0200, Bastian Kleineidam wrote:
> >> What should be done then in prerm when the stop command fails?
> >
> > Why is the stop command failing?
> It fails when the daemon is not run
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Steve Langasek schrieb:
> On Wed, Aug 30, 2006 at 08:39:10PM +0200, Bastian Kleineidam wrote:
>> What should be done then in prerm when the stop command fails?
>
> Why is the stop command failing?
It fails when the daemon is not running. Perhaps it sh
On Wed, Aug 30, 2006 at 08:39:10PM +0200, Bastian Kleineidam wrote:
> Steve Langasek schrieb:
> > On Tue, Aug 29, 2006 at 07:54:32PM +0200, Bastian Kleineidam wrote:
> >> The "|| true" after the stop command must be added regardless of the
> >> usage of invoke-rc.d.
> > Why? That's not the cust
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Steve Langasek schrieb:
> On Tue, Aug 29, 2006 at 07:54:32PM +0200, Bastian Kleineidam wrote:
>
>> The "|| true" after the stop command must be added regardless of the
>> usage of invoke-rc.d.
>
> Why? That's not the customary usage at all.
What sho
On Tue, Aug 29, 2006 at 07:54:32PM +0200, Bastian Kleineidam wrote:
> The "|| true" after the stop command must be added regardless of the
> usage of invoke-rc.d.
Why? That's not the customary usage at all.
--
Steve Langasek Give me a lever long enough and a Free OS
Debian De
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Steve Langasek schrieb:
> This is still a policy violation; maintainer scripts aren't supposed to
> invoke init.d scripts directly, they should use invoke-rc.d.
I agree. There is already a bug filed wrt invoke-rc.d (#05). I will
raise the severity
On Mon, Aug 28, 2006 at 08:40:14PM +0200, Bastian Kleineidam wrote:
> if the thttpd daemon is not running, the prerm script fails, since
> "/etc/init.d/thttpd stop" fails to exit with a zero status.
> This prevents the package from uninstall. Attached is a patch
> the ignores stop errors.
> --- pr
Package: thttpd
Version: 2.23beta1-4
Severity: serious
Tags: patch
Justification: Policy 6.1 - maintainer scripts
Hi,
if the thttpd daemon is not running, the prerm script fails, since
"/etc/init.d/thttpd stop" fails to exit with a zero status.
This prevents the package from uninstall. Attached i
11 matches
Mail list logo