First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 177037
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Antivirus Team <antivirus@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Brian Evans <grknight2k@bluebottle.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 177037 depends on: Show dependency tree
Show dependency graph
Bug 177037 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-05-04 14:17 0000
During the boot process, the amavisd boot script can and does initialize before
antivirus daemons such as clamd.  Although this is not required for amavisd-new
to function all the time, it can cause errors if the antivirus daemon creates a
socket which amavisd-new is configured with.

Suggest adding "antivirus" to the use section of the init script.

Reproducible: Always

Steps to Reproduce:
1. Enable clamd socket access in amavisd.conf
2. Restart the machine
Actual Results:  
Errors in syslog:
May  4 09:34:44 mail amavis[5607]: (05607-01) (!!)ClamAV-clamd av-scanner
FAILED: CODE(0x8139aa4) Too many retries to talk to /var/run/clamav/clamd.sock
(Can't connect to UNIX socket /var/run/clamav/clamd.sock: No such file or
directory) at (eval 69) line 306. at (eval 69) line 504.
May  4 09:34:44 mail amavis[5607]: (05607-01) (!!)WARN: all primary virus
scanners failed, considering backups


Expected Results:  
No errors

------- Comment #1 From Roman Dilken 2007-05-16 10:00:32 0000 -------
I get this similar error:

May 16 11:54:53 gentoo amavis[18986]: (18986-03) (!!)ask_av (ClamAV-clamd)
FAILED - unexpected result: /var/amavis/tmp/amavis-20070516T114305-18986/parts:
lstat() failed. ERROR\n
May 16 11:54:53 gentoo amavis[18986]: (18986-03) (!!)WARN: all primary virus
scanners failed, considering backups

Perhaps this is the same as above?

------- Comment #2 From steveb 2007-06-11 10:39:58 0000 -------
maybe doing this would help:
depend() {
        need net
        use logger
        before mta
        after antivirus
}

------- Comment #3 From Andrej Kacian (RETIRED) 2007-06-18 16:03:38 0000 -------
Fixed along with 2.5.1 bump, thanks!

First Last Prev Next    No search results available      Search page      Enter new bug