> it works beautifully ti fails only in supervised mode.
>
> My run script is,
> # cat run
> #!/bin/sh
> exec 2>&1
> #exec /usr/local/bin/chpst -u clamav \
> #/usr/local/bin/chpst -m 40000000 /usr/local/sbin/clamd
> #exec /usr/local/bin/chpst -m 80000000
> /usr/local/sbin/clamd
> exec /usr/local/sbin/clamd
My /service/clamd/run script:
#!/bin/sh
exec 2>&1
exec setuidgid clamav \
softlimit -a 40000000 \
/usr/sbin/clamd
Have you applied this patch? (for logging to stderr)
http://www.qscanq.org/clamav-0.70-stderr.patch.gz
What are your clamav.conf params?
Some obvious ones required to run under daemontools _and_
scan mail:
----- <snip> -----
# if using above patch
LogFile stderr
# for multilog
LogFileUnlock
FixStaleSocket
ScanMail
Foreground
----- </snip> -----
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users