Bug#385055: thttpd: cannot uninstall when daemon is not running

2006-09-05 Thread Bastian Kleineidam
-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

Bug#385055: thttpd: cannot uninstall when daemon is not running

2006-09-04 Thread Steinar H. Gunderson
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 $?

Bug#385055: thttpd: cannot uninstall when daemon is not running

2006-08-31 Thread Steve Langasek
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

Bug#385055: thttpd: cannot uninstall when daemon is not running

2006-08-31 Thread Stephen Gran
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

Bug#385055: thttpd: cannot uninstall when daemon is not running

2006-08-31 Thread Bastian Kleineidam
-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

Bug#385055: thttpd: cannot uninstall when daemon is not running

2006-08-30 Thread Steve Langasek
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

Bug#385055: thttpd: cannot uninstall when daemon is not running

2006-08-30 Thread Bastian Kleineidam
-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

Bug#385055: thttpd: cannot uninstall when daemon is not running

2006-08-29 Thread Steve Langasek
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

Bug#385055: thttpd: cannot uninstall when daemon is not running

2006-08-29 Thread Bastian Kleineidam
-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

Bug#385055: thttpd: cannot uninstall when daemon is not running

2006-08-28 Thread Steve Langasek
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

Bug#385055: thttpd: cannot uninstall when daemon is not running

2006-08-28 Thread Bastian Kleineidam
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