In prior versions of clamav, the freshclam daemon could run under the user specified with the -u command line option, usually set in /etc/conf.d/clamd. In the 0.67 ebuild, freshclam always starts as the clamav user. clamd, however, honors the user settings in /etc/clamav.conf, and starts an the specified user. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Actually, freshclam only honors the settings in /etc/freshclam.conf and this isn't a gentoo specific problem, encountered this on Fedora as well.
Then it would appear that we have some abiguity between /etc/conf.d/clamd and /etc/freshclam.conf Namely, the ebuild uses settings in /etc/conf.d/clamd to specify options which should be picked up in /etc/clamav.conf and /etc/freshclam.conf. For instance, the log file name is being set in /etc/conf.d/clamd, where it should be set in /etc/freshclam.conf and /etc/clamav.conf. That means we need an update in the init scripts which eliminates the logfile settings in /etc/conf.d/clamd.
is this still an issue in newer versions? (since i'd like to get rid of the old ones asap)
please test if this is still an issue in 0.75.1 and/or 0.80_rc3