Bug 157528

Summary: clamav issues
Product: [Fedora] Fedora Reporter: Marius Andreiana <marius.andreiana>
Component: clamavAssignee: Enrico Scholz <rh-bugzilla>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-05-12 12:41:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marius Andreiana 2005-05-12 11:57:16 UTC
0. Please rename clamd-wrapper init script to clamd (same as upstream rpms and
same as other servers, e.g. httpd is named httpd not httpd-wrapper).

1. Installing clamav-server clamav-update with yum doesn't also pull clamav. Is
this intended?

2. After installing those:
# service clamd-wrapper start
clamd-wrapper: unrecognized service

Please run chkconfig --add in POST-install script (and --del on PRE-uninstall)

3. freshclam requires manual changes to enable it. I know it's because of not
setting same hour everywhere in order to spread the load.
Upstream clamav rpms enable freshclam as a daemon, can't the same setup be used?
If not, then generate some random hour - minute on install to put in cron file,
so it works out of the box.

Thanks!

Comment 1 Enrico Scholz 2005-05-12 12:41:38 UTC
| 0. Please rename clamd-wrapper init script to clamd (same as upstream
|    rpms and same as other servers, e.g. httpd is named httpd not
|    httpd-wrapper).

A common clamd daemon is not possible and such a daemon is not useful
in most cases.

E.g. see http://bugzilla.fedora.us/show_bug.cgi?id=268#c8 for
explainations.



| 1. Installing clamav-server clamav-update with yum doesn't also pull
|    clamav. Is this intended?

Yes; client part is not needed for the server.


| 2. After installing those:
| # service clamd-wrapper start
| clamd-wrapper: unrecognized service
| 
|    Please run chkconfig --add in POST-install script (and --del on
|    PRE-uninstall)

Not possible; clamd-wrapper is a wrapper but not a service.


| 3. freshclam requires manual changes to enable it. I know it's because
|    of not setting same hour everywhere in order to spread the load.
| 
|    Upstream clamav rpms enable freshclam as a daemon, can't the same
|    setup be used? If not, then generate some random hour - minute on
|    install to put in cron file, so it works out of the box.

Running as a daemon is bad because database changes can not be
propagated. For details, please see
http://bugzilla.fedora.us/show_bug.cgi?id=1715#c43 point 4.



For more details about the clamav packaging please read the tickets at
the fedora.us bugzilla. They explain all of the issues above.


http://bugzilla.fedora.us/buglist.cgi?field0-0-0=short_desc&type0-0-0=substring&value0-0-0=clamav%20