tags 485523 +pending
thanks

Hi Alec--

On Mon 2008-06-09 21:29:28 -0400, Alec Berryman wrote:

> The code for restarting dnscache in the script
> /etc/resolvconf/update.d/dnscache guesses between runit and
> daemontools by looking at dnscache's parent directory.  It assumes
> runit when it sees this directory is /etc/service.  However, the
> current daemontools package in main is configured to use
> /etc/service, too.

Thanks for the heads-up about this, and for your patch.  I think
simply testing for the existence of /usr/bin/sv isn't enough to
presume the use of runit, unfortunately.  But I noticed that the
supervise directories created/managed by runit's "runsv" contain pid
and stat, which aren't present in the supervise/ directories
controlled by daemontools' "supervise".

So I've committed changeset 97 to the resolvconf repo on alioth which
uses this distinction to guess which controller to use.  It's not
clear to me if this change will make it into resolvconf 1.41 or not
(Marco, did you do a release yet?), but it will be in 1.42 for sure.

Thanks again for pointing out these changes, Alec.

Regards,

        --dkg

Attachment: pgpSQDTkxirNI.pgp
Description: PGP signature

Reply via email to