At Fri, 27 Aug 2004 23:47:43 +0200, Thomas Hood wrote: > On Fri, 2004-08-27 at 23:13, Herbert Xu wrote: > > > Which initscript are we talking about here? > > > > nis > > So why not use the --retry option on the start-stop-daemon > lines in the stop() function?
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. Some /etc/init.d restart code does not use --retry. "inetd", "lpd", and so on. So I think we can't guarantee daemon restart exactly. Instead, we use workaound technique; stop, wait 2 seconds, and start. It's sure that we might submit bugs for those restarting-daemons to support --retry option, though. Regards, -- gotom

