Re: daemontools control over sophie not working any more since release 3.04

Uwe Gresshake <[email protected]> Mon, 10 Oct 2005 17:58:08 +0200
Newsgroups gmane.comp.security.virus.vtools
Message-ID <[email protected]>
Scott,

sorry for my late response and thank You for this patch.
It works for me. I tested it on three servers without any problems so far.

Is there a chance to get this patch published at the sophie (clanfield)=20
website?
I am sure it is of interest for many daemontools users on the internet.

Regards,

Uwe


[email protected] wrote:

>Uwe,
>
>I incorrectly assumed that other processes would use the pid in
>/var/run/sophie.pid to send signals to Sophie.  You are correct that
>daemontools just uses the pid of the initial process.  I've attached a
>patch that makes the main Sophie process catch and forward any signals i=
t
>receives to the Sophie working process (the process who's pid is in the
>sophie.pid file).  I've tried using it with daemontools and it seems to
>work now.
>
>Let me know if it works for you.
>
>Regards,
>Scott.
>(See attached file: sophie-3_04-daemontools_patch.txt)
>
>
> =20
>
--=20
d m m d - GmbH & Co. KG
Uwe Gre=DFhake Netzwerk- & Datentechnik
Osnabruecker Str. 17 - 49176 Hilter
Tel. +49-(0)5424/36079-0 - Fax +49-(0)5424/36079-60
e-mail: [email protected] - Web: http://www.dmmd.de