[Bug 809580] New: amavisd-new - clamd communication error
https://bugzilla.novell.com/show_bug.cgi?id=809580 https://bugzilla.novell.com/show_bug.cgi?id=809580#c0 Summary: amavisd-new - clamd communication error Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dengel@vud.sk QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Opera/9.80 (Windows NT 6.1; Win64; x64) Presto/2.12.388 Version/12.14 After update form openSUSE 12.2 to 12.3 there is communication error between amavisd-new and clamd. Clamd expects communication on socket: /var/run/clamav/clamd-socket but amavisd configuration file /etc/amavisd.conf in the antivirus section defines clamd in this way: ['ClamAV-clamd', \&ask_daemon, ["CONTSCAN {}\n", "/var/lib/clamav/clamd-socket"], qr/\bOK$/m, qr/\bFOUND$/m, qr/^.*?: (?!Infected Archive)(.*) FOUND$/m ], After modification of amavisd.conf to: \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd-socket"], is all ok. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=809580 https://bugzilla.novell.com/show_bug.cgi?id=809580#c Xiaolong Li <xlli@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xlli@suse.com AssignedTo|bnc-team-screening@forge.pr |varkoly@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=809580 https://bugzilla.novell.com/show_bug.cgi?id=809580#c1 Peer Heinlein <p.heinlein@heinlein-support.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |p.heinlein@heinlein-support | |.de --- Comment #1 from Peer Heinlein <p.heinlein@heinlein-support.de> 2013-04-09 14:45:20 UTC --- Yes, that's right. Fixing should be VERY easy. Please fix ASAP. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=809580 https://bugzilla.novell.com/show_bug.cgi?id=809580#c2 Christian Boltz <suse-beta@cboltz.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |suse-beta@cboltz.de --- Comment #2 from Christian Boltz <suse-beta@cboltz.de> 2013-05-09 01:32:08 CEST --- BTW: you can blame bug 770395 for this ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=809580 https://bugzilla.novell.com/show_bug.cgi?id=809580#c3 Freek de Kruijf <f.de.kruijf@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |f.de.kruijf@gmail.com Component|Network |Network Version|Final |13.1 Beta 1 AssignedTo|varkoly@suse.com |bnc-team-screening@forge.pr | |ovo.novell.com Product|openSUSE 12.3 |openSUSE Factory Target Milestone|--- |13.1 Beta 1 --- Comment #3 from Freek de Kruijf <f.de.kruijf@gmail.com> 2013-10-03 13:23:49 UTC --- This bug is still present in openSUSE 13.1 B1. diff -u output is: --- /etc/amavisd.conf.org 2013-09-29 00:23:21.982436843 +0200 +++ /etc/amavisd.conf 2013-09-29 00:23:59.700362482 +0200 @@ -378,7 +378,7 @@ # ### http://www.clamav.net/ ['ClamAV-clamd', - \&ask_daemon, ["CONTSCAN {}\n", "/var/lib/clamav/clamd-socket.sock"], + \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd-socket"], qr/\bOK$/m, qr/\bFOUND$/m, qr/^.*?: (?!Infected Archive)(.*) FOUND$/m ], # # NOTE: run clamd under the same user as amavisd - or run it under its own -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=809580 https://bugzilla.novell.com/show_bug.cgi?id=809580#c Christian Boltz <suse-beta@cboltz.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wolfgang@rosenauer.org AssignedTo|bnc-team-screening@forge.pr |varkoly@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=809580 https://bugzilla.novell.com/show_bug.cgi?id=809580#c4 --- Comment #4 from Christian Boltz <suse-beta@cboltz.de> 2013-10-03 18:00:00 CEST --- Instead of having to fix it on another server - SR 202055 sent ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=809580 https://bugzilla.novell.com/show_bug.cgi?id=809580#c5 --- Comment #5 from Wolfgang Rosenauer <wolfgang@rosenauer.org> 2013-10-03 19:50:22 UTC --- I filed bug 830818 some time ago. So this one is a duplicate? Up to now I wasn't sure what is wrong but apparently fixing in amavisd-new is the way to go? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=809580 https://bugzilla.novell.com/show_bug.cgi?id=809580#c6 --- Comment #6 from Christian Boltz <suse-beta@cboltz.de> 2013-10-03 23:22:04 CEST --- (In reply to comment #5)
I filed bug 830818 some time ago. So this one is a duplicate? Up to now I wasn't sure what is wrong but apparently fixing in amavisd-new is the way to go?
Good question ;-) My SR will fix it - especially for those users who don't use yast to setup their mailserver ;-) OTOH /usr/share/YaST2/modules/YaPI/MailServer.pm also contains an outdated path: my $clamsock = '/var/lib/clamav/clamd-socket'; (line 2969, in activate_virus_scanner() ) so I'd say this should also be fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=809580 https://bugzilla.novell.com/show_bug.cgi?id=809580#c7 --- Comment #7 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-10-04 14:00:11 CEST --- This is an autogenerated message for OBS integration: This bug (809580) was mentioned in https://build.opensuse.org/request/show/202140 Factory / amavisd-new -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=809580 https://bugzilla.novell.com/show_bug.cgi?id=809580#c8 Wolfgang Rosenauer <wolfgang@rosenauer.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #8 from Wolfgang Rosenauer <wolfgang@rosenauer.org> 2013-10-04 13:31:06 UTC --- SR accepted and forwarded to Factory. I'm going to close this one but not mark 830818 as a dupe nor closing that one since there still is a chance that YaST is doing wrong things. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com