Stephen Gran <[EMAIL PROTECTED]> writes: > Unfortunately, the debconf setup is geared towards a default install, > including clamav-daemon. The problem is that two daemons share the config > file, the milter and clamd, so I had to move the config file into base, > now that the milter no longer needs the daemon to run. I am not sure > how to make it work much better than this, so if you have any > suggestions, please let me know.
Why not simply have the postrotate script verify that /etc/init.d/clamav-daemon is runnable before proceeding? It can either explicitly run eicd=/etc/init.d/clamav-daemon; test ! -x $eicd || $eicd reload or /usr/sbin/invoke-rc.d --quiet clamav-daemon reload || test $? = 100 though the latter approach technically requires a dependency on sysv-rc (>= 2.85-3) | file-rc (>= 0.8.1) Thanks. -- Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org) Finger [EMAIL PROTECTED] (NOT a valid e-mail address) for more info. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]