Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Apr 2007 13:14:33 -0700
From:      leres@ee.lbl.gov (Craig Leres)
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/111545: [security/clamav] clamav-milter rc script requires clamd but clamav-milter does not
Message-ID:  <200704132014.l3DKEXDt065954@fun.ee.lbl.gov>
Resent-Message-ID: <200704132020.l3DKK2vn017009@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         111545
>Category:       ports
>Synopsis:       [security/clamav] clamav-milter rc script requires clamd but clamav-milter does not
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 13 20:20:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Craig Leres
>Release:        FreeBSD 6.2-RELEASE i386
>Organization:
Lawrence Berkeley National Laboratory
>Environment:
	ee 85 # uname -a
	FreeBSD ee.lbl.gov 6.2-RELEASE FreeBSD 6.2-RELEASE #6: Mon Mar 19 10:16:56 PDT 2007     leres@fun.ee.lbl.gov:/usr/src/6.2-RELEASE/sys/i386/compile/LBLSMP  i386

>Description:
	The clamav-milter rc script was changed in to wait for the
	clamd socket in rev 1.2. In 1.3 (today's version) it was
	changed to also require the clamd socket to exist and will
	not start clamav-milter unless it does.

	This is a mistake since clamav-milter can be configured to
	use clamd or to access the virus db directly.

>How-To-Repeat:
	When /etc/rc.conf contains:

	    clamav_clamd_enable="NO"
	    clamav_milter_enable="YES"

	attempting to start clamav-milter fails after waiting 60
	seconds for the clamd socket to appear.

>Fix:
	The clamd socket test should be conditional on clamd_enable="YES"
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704132014.l3DKEXDt065954>