[Bug 382907] New: clamav-milter support is incomplete/broken
https://bugzilla.novell.com/show_bug.cgi?id=382907 Summary: clamav-milter support is incomplete/broken Product: openSUSE 11.0 Version: Factory Platform: All OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: reik.keutterling@arcor.net QAContact: qa@suse.de Found By: Integration Test there are several problems with the clamav-milter initscript: - CLAMAV_MILTER_OPTIONS from /etc/sysconfig/clamav-milter is not used at the initscript - "-i" for pidfile is broken in clamav atm (--pidfile creates a pidfile which starts with a "-") --- https://wwws.clamav.net/bugzilla/show_bug.cgi?id=988 - something like CLAMAV_MILTER_SOCKET is missing in the initscript/sysconfig template regards Reik -- 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=382907 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |max@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=382907 User max@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=382907#c1 Reinhard Max <max@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |reik.keutterling@arcor.net --- Comment #1 from Reinhard Max <max@novell.com> 2008-04-24 07:29:24 MST --- I know virtually nothing about the configuration of clamav-milter and only added it on popular demand without having a chance to actually test it. It would be nice if you could provide me with a good default configuration. BTW, ClamAVs Bugzilla says I am not authorized to access the bug you mentioned above. -- 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=382907 User reik.keutterling@arcor.net added comment https://bugzilla.novell.com/show_bug.cgi?id=382907#c2 --- Comment #2 from Reik Keutterling <reik.keutterling@arcor.net> 2008-04-24 08:03:41 MST --- I think the startscript should looks like this: /sbin/startproc -p $PIDFILE $CLAMAV_MILTER_BIN --pidfile $PIDFILE $CLAMAV_MILTER_OPTIONS $CLAMAV_MILTER_SOCKET where $CLAMAV_MILTER_SOCKET is defined in /etc/sysconfig/clamav-milter e.g.: CLAMAV_MILTER_SOCKET="/var/lib/clamav/clamd-milter-socket" or define it hard coded in the initscript -------------------- But due to the clamav Bug #988 the pidfile for clamav-milter is broken atm. Maybe the best way atm would be: /sbin/startproc $CLAMAV_MILTER_BIN $CLAMAV_MILTER_OPTIONS $CLAMAV_MILTER_SOCKET /sbin/killproc -TERM $CLAMAV_MILTER_BIN /sbin/checkproc $CLAMAV_MILTER_BIN --------------------------------------------------------------------------- Description: [reply] Opened: 2008-04-23 18:39 the short option for --pidfile is invalid. # clamav-milter -i /tmp/clamav-milter.pid clamav-milter: invalid option -- i Usage: clamav-milter [-b] [-c FILE] [-F FILE] [--max-children=num] [-e] [-l] [-o] [-p address] [-P] [-q] [-Q USER] [-s SERVER] [-S] [-U PATH] [-M#] socket-addr # clamav-milter --help --pidfile=FILE -i FILE Location of pidfile. ------- Comment #1 From Reik Keutterling 2008-04-24 15:39:41 [reply] ------- Additional the pid in e.g. clamav-milter.pid starts with a '-' which is in my understanding a bug too. --------------------------------------------------------------------------- Sorry, but I don't know how to publish the bug. :-/ -- 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=382907 User guru@unixtech.be added comment https://bugzilla.novell.com/show_bug.cgi?id=382907#c3 Pascal Bleser <guru@unixtech.be> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |guru@unixtech.be --- Comment #3 from Pascal Bleser <guru@unixtech.be> 2008-04-29 04:22:28 MST --- Killing actually needs something along the lines of this: pid=$(</var/run/clamav-milter.pid) case $pid in -*) killall -g "${pid#-}" ;; *) kill "$pid" ;; esac As when their "PID" starts with -, it actually is the process group ID, and not the process ID. -- 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=382907 Reik Keutterling <reik.keutterling@arcor.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|reik.keutterling@arcor.net | -- 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=382907 User max@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=382907#c4 Reinhard Max <max@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #4 from Reinhard Max <max@novell.com> 2008-11-07 08:18:40 MST --- Fixed in openSUSE 11.1. The fix will also be contained in the next regular clamav updates for older releases. -- 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