[Pkg-clamav-devel] Bug#748310: clamav-daemon: initscript ignores configfile name at daemon start
Peter Gervai
grin at grin.hu
Fri May 16 00:22:11 UTC 2014
Package: clamav-daemon
Version: 0.98.1+dfsg-5
Severity: normal
--- /etc/init.d/clamav-daemon 2014-04-24 08:13:03.000000000 +0200
+++ /etc/init.d/clamd2 2014-05-16 02:15:17.939141376 +0200
@@ -320,7 +320,7 @@
done
if [ -z "$RUN_SUPERVISED" ] ; then
log_daemon_msg "Starting $DESC" "$NAME "
- start-stop-daemon --start --oknodo -c $User --exec $DAEMON
--pidfile $THEPIDFILE
+ start-stop-daemon --start --oknodo -c $User --exec $DAEMON
--pidfile $THEPIDFILE -- -c $CLAMAVCONF
ret=$?
else
log_daemon_msg "Starting $DESC" "$NAME (supervised) "
Apart from that it isn't quite LSBish that the initscript bails out
when config is
set to foreground and there's no 'daemon' installed, even on help or status
requests. It's pretty impolite towards a clusering infrastructure for example.
thanks.
More information about the Pkg-clamav-devel
mailing list