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

Re: Bug#211784 closed by Guillem Jover <guillem@debian.org> (Re: Bug#211784: start-stop-daemon --stop returns before daemon exits unless --retry is used)



reopen 211784
reassign 211784 libc6
retitle 211784 Use start-stop-daemon --restart
quit

On Tue, Nov 24, 2009 at 06:36:03PM +0000, Debian Bug Tracking System wrote:
> 
> 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.

Next time you close a bug, please look at the original report.
I never filed this against dpkg, it was reassigned by the maintainer
of the package it was filed against.

The original bug AFAICS is still there.
 
> 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.

Thanks,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


Reply to: