Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43666 - In clamav-0.67, freshclam ignores -u option. Always starts as clamav user.
Summary: In clamav-0.67, freshclam ignores -u option. Always starts as clamav user.
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Antivirus Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-03 15:51 UTC by Martin Diers
Modified: 2004-10-08 12:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Diers 2004-03-03 15:51:11 UTC
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.
Comment 1 Spider (RETIRED) gentoo-dev 2004-03-04 09:08:55 UTC
Actually, freshclam only honors the settings in /etc/freshclam.conf
and this isn't a gentoo specific problem, encountered this on Fedora as well.
Comment 2 Martin Diers 2004-03-04 09:47:09 UTC
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.
Comment 3 Thomas Raschbacher gentoo-dev 2004-07-30 18:45:20 UTC
is this still an issue in newer versions? (since i'd like to get rid of the old ones asap)
Comment 4 Thomas Raschbacher gentoo-dev 2004-10-08 12:22:12 UTC
please test if this is still an issue in 0.75.1 and/or 0.80_rc3