Bug 815692
| Summary: | RFE: Provide clamav diskscan service | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Marko Myllynen <myllynen> |
| Component: | clamav | Assignee: | Gerald Cox <gbcox> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | ondrejj, redhat-bugzilla, rh-bugzilla, steve |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-03-28 20:14:32 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Marko Myllynen
2012-04-24 09:43:51 UTC
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. Researching... You can install clamav as a service now. Be sure to reference: https://bugzilla.redhat.com/show_bug.cgi?id=859339 You can also setup freshclam as a service. You will need to manually create: /usr/lib/systemd/system/clam-freshclam.service # Run FreshClam as daemon [Unit] Description = freshclam scanner After = network.target [Service] Type = forking ExecStart = /usr/bin/freshclam -d -c 4 Restart = on-failure PrivateTmp = true [Install] WantedBy=multi-user.target The other thing to watch out for is since clamav will be running as a daemon, and not as root, you'll need to ensure it is a member of the appropriate groups - otherwise you'll get permission errors. I've written a series of bash scripts to scan using the daemon - and if you do a google search, I'm sure there is more. I'll post my scripts to bitbucket: https://bitbucket.org/gbcox/clamav_utils/ Just download to a directory and execute viruscan. You also need to install figlet which is in the Fedora repo. It's a work in progress, and not supported by Fedora, so if you have any questions/issues - post them in the bitbucket repo. |