On Fri, Jun 09, 2006 at 05:25:18PM +0100, Stephen Gran wrote:
> This one time, at band camp, Peter Eisentraut said:
> > I have found that the following patch works better.  It avoids slow-to-stop 
> > ntpd child processes messing the whole thing up, especially during a 
> > restart.

> Using --exec on stop is going to fail on some kinds of upgrades (a
> restart in postinst, for instance) since the binary will have changed
> after the upgrade.  I have no idea if ntpd uses that sort of logic in
> the maintainer scripts (I suspect not, from the output during upgrade),
> but it does seem cleaner to use the normal pidfile method.

Indeed, there is a bug against dpkg asking for --exec's behavior to be
completely deprecated for this reason.

There's no excuse for adding --exec in a new maintainer script.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/

Attachment: signature.asc
Description: Digital signature

Reply via email to