[Pkg-clamav-devel] [Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/unstable, updated. debian/0.94.dfsg.1-1-3-g2b91058

Stephen Gran sgran at debian.org
Sun Nov 23 15:17:10 UTC 2008


This one time, at band camp, Michael Tautschnig said:
> Well, yes, that's not really user-friendly. What about the following:
> 
> - touch lock-file in clamav-daemon.prerm/upgrade
> - check for lock-file in clamav-milter.init/start and create a
>   clamav-milter-restart-me, but don't start
> - in clamav-daemon.postinst, after starting clamd, check for
>   clamav-milter-restart-me and start clamav-milter
> 
> I'll try to implement that, but maybe I'm once again missing something.

That seems reasonable, yes.  I am a little leery of restarting something
from the init script of another daemon, but I think here we might have
no choice.  Maybe also check the age of the file, so we don't eternally
restart the milter after a failed cleanup or something?

Cheers,
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        sgran at debian.org |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-clamav-devel/attachments/20081123/64eb2838/attachment.pgp 


More information about the Pkg-clamav-devel mailing list