Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 157528 - clamav issues
Summary: clamav issues
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: clamav
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Enrico Scholz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-05-12 11:57 UTC by Marius Andreiana
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-05-12 12:41:38 UTC


Attachments (Terms of Use)

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



Note You need to log in before you can comment on or make changes to this bug.