On Wed, Apr 04, 2007 at 09:16:24AM +0200, Josselin Mouette wrote: > Le mardi 03 avril 2007 à 20:22 +0200, Kurt Roeckx a écrit : > > This looks like somehow start-stop-daemon thinks that daemon was already > > running. I can't see any other way you should get this error. It's > > also the behaviour I get when testing it. > > Thanks for the hint, I found what went wrong. Before installing > openntpd, I had mistakenly installed ntp instead and had to purge it. > However it seems that ntpd doesn't exit immediately when the package is > purged; it takes about one minute, if not more, before the process > disappears.
In that case I think it's the resolver slave process that's still running because resolving didn't work. As far as I know, this is the only case I saw a process still running after telling it to stop. But I wonder why it doesn't get killed if the parent gets killed. PS: You currently might need to purge either openntpd or ntp. The init scripts check that /usr/sbin/ntpd exists, which exists in both packages, and both scripts start ntpd and you really might end up with 2 daemons running. I'm still not sure what the best way to avoid this is. Kurt

