[Pkg-clamav-devel] Bug#830482: Bug#830482: clamav-freshclam: duplicate logging with systemd

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Sat Dec 3 21:05:53 UTC 2016


On 2016-07-08 14:39:26 [+0200], Marki wrote:
> freshclam is configured to log to its logfile by itself (UpdateLogFile).
> However systemd unit file (as shipped with jessie) runs freshclam in
> foreground and redirects its stdout to syslog.
> 
> LogSyslog false
> Foreground false

According to the source code of freshclam this should not happen if
LogSyslog and Foreground is set to false like you have. I have
clamav-freshclam on a fresh box to double check and confirmed it.
(On my server I have freshclam run from cron so I could not check the
problem existed otherwise)
Is the freshclam.conf you attached to the bug report from the machine
that logs twice?

Sebastian



More information about the Pkg-clamav-devel mailing list