Your message dated Tue, 24 Nov 2009 19:32:42 +0100
with message-id <[email protected]>
and subject line Re: Bug#211784: start-stop-daemon --stop returns before daemon
exits unless --retry is used
has caused the Debian Bug report #211784,
regarding [S-S-D] start-stop-daemon --stop returns before daemon exits unless
--retry is used
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
211784: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=211784
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libc6
Version: 2.3.2-7
Severity: normal
The delay of one second between stop/start is too short for nis.
On my system, it often takes between one and two seconds to shutdown
nis.
This causes nis to be stopped but not started after a libc6 upgrade.
The solution is either to increase the delay to at least two seconds,
or use a better method to determine when the stop has completed.
-- System Information
Debian Release: testing/unstable
Kernel Version: Linux gondolin 2.4.22-1-686-smp #1 SMP Sat Sep 6 00:06:59 EST
2003 i686 GNU/Linux
Versions of the packages libc6 depends on:
ii libdb1-compat 2.1.3-7 The Berkeley database routines [glibc 2.0/2.
--- End Message ---
--- Begin Message ---
Hi!
On Mon, 2004-08-30 at 08:02:46 +0200, Thomas Hood wrote:
> On Mon, 2004-08-30 at 07:21, GOTO Masanori wrote:
> > We're talking about libc6.postinst start-stop code (line:264). We
> > don't execute start-stop-daemon directly. So I think --retry option
> > issue is out of scope.
>
> One should be able to call an initscript with the "restart"
> argument in order to restart the service that it controls. If
> that doesn't work then there is a bug in the initscript.
> Stopping and starting should also work without a "sleep" in
> between. This is something that should be addressed post-sarge.
I agree with Thomas, those init scripts are buggy. Also the
functionality is already present in start-stop-daemon with the --retry
option. The fact that --stop does not wait is explained clearly in
the man pages, and I don't think it's s-s-d's fault if people expect
it to do something it's not supposed to.
Thus closing.
regards,
guillem
--- End Message ---