Bug 1028653
Summary: | Freshclam cannot notify clamd of database updates due to permission denied | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Raman Gupta <rocketraman> |
Component: | amavisd-new | Assignee: | Juan Orti <jorti> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 19 | CC: | jorti, lnie, perl-devel, redhat-bugzilla, rh-bugzilla, steve, vanmeeuwen+fedora, vg.aetera |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | amavisd-new-2.8.1-1.fc20 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 548234 | Environment: | |
Last Closed: | 2014-03-13 22:40:02 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
Raman Gupta
2013-11-09 06:28:22 UTC
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. amavisd-new-2.8.1-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/amavisd-new-2.8.1-1.fc20 amavisd-new-2.8.1-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/amavisd-new-2.8.1-1.fc19 Package amavisd-new-2.8.1-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing amavisd-new-2.8.1-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-3711/amavisd-new-2.8.1-1.fc20 then log in and leave karma (feedback). still saw this bug in amavisd-new-2.8.1-1.fc20 In my tests the daemon is notified, but freshclam gives the error: clamd server '/var/run/clamd.amavisd/clamd.sock' gave '' response Which I think is bug #949838 This is the log of my server: mar 11 14:54:13 foo.example.com freshclam[20352]: Current working dir is /var/lib/clamav mar 11 14:54:13 foo.example.com freshclam[20352]: Max retries == 3 mar 11 14:54:13 foo.example.com freshclam[20352]: ClamAV update process started at Tue Mar 11 14:54:13 2014 mar 11 14:54:13 foo.example.com freshclam[20352]: Using IPv6 aware code mar 11 14:54:13 foo.example.com freshclam[20352]: Querying current.cvd.clamav.net mar 11 14:54:13 foo.example.com freshclam[20352]: TTL: 1389 mar 11 14:54:13 foo.example.com freshclam[20352]: Software version from DNS: 0.98.1 mar 11 14:54:13 foo.example.com freshclam[20352]: main.cvd version from DNS: 55 mar 11 14:54:13 foo.example.com freshclam[20352]: main.cvd is up to date (version: 55, sigs: 2424225, f-level: 60, builder: neo) mar 11 14:54:13 foo.example.com freshclam[20352]: Retrieving http://database.clamav.net/daily.cvd mar 11 14:54:13 foo.example.com freshclam[20352]: Trying to download http://database.clamav.net/daily.cvd (IP: 62.201.161.84) mar 11 14:54:20 foo.example.com freshclam[20352]: Downloading daily.cvd [100%] mar 11 14:54:21 foo.example.com freshclam[20353]: Loading signatures from daily.cvd mar 11 14:54:23 foo.example.com freshclam[20353]: Properly loaded 815608 signatures from new daily.cvd mar 11 14:54:24 foo.example.com freshclam[20352]: daily.cvd updated (version: 18572, sigs: 815603, f-level: 63, builder: neo) mar 11 14:54:24 foo.example.com freshclam[20352]: Querying daily.18572.76.1.0.3EC9A154.ping.clamav.net mar 11 14:54:24 foo.example.com freshclam[20352]: bytecode.cvd version from DNS: 236 mar 11 14:54:24 foo.example.com freshclam[20352]: bytecode.cld is up to date (version: 236, sigs: 43, f-level: 63, builder: dgoddard) mar 11 14:54:27 foo.example.com freshclam[20352]: Database updated (3239871 signatures) from database.clamav.net (IP: 62.201.161.84) mar 11 14:54:27 foo.example.com freshclam[20352]: Clamd successfully notified about the update. mar 11 14:54:27 foo.example.com clamd[18844]: Reading databases from /var/lib/clamav mar 11 14:54:27 foo.example.com clamd[18844]: Reading databases from /var/lib/clamav mar 11 14:54:37 foo.example.com clamd[18844]: Database correctly reloaded (3234479 signatures) mar 11 14:54:37 foo.example.com clamd[18844]: Database correctly reloaded (3234479 signatures) Looks good to me on F19. I see that the location of clamd.sock has changed to /var/run/clamd.amavisd/, which has the correct group permissions: # ls -ld /var/run/clamd.amavisd drwxrwx---. 2 amavis clamupdate 80 Mar 11 10:57 /var/run/clamd.amavisd # ls -l /var/run/clamd.amavisd/ total 4 -rw-rw-r--. 1 amavis amavis 3 Mar 11 10:57 clamd.pid srw-rw-rw-. 1 amavis amavis 0 Mar 11 10:57 clamd.sock I provided positive karma on the update. amavisd-new-2.8.1-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. amavisd-new-2.8.1-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |