Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Mar 2007 22:53:31 -0500
From:      Shaun <shaun@shaunc.com>
To:        freebsd-ports-bugs@freebsd.org
Subject:   clamav 0.88.5 to 0.90.1 woes under FreeBSD 4.11
Message-ID:  <20070323224611.5D38.SHAUN@shaunc.com>

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

Apologies for the non-send-pr report and lack of diffs - this is my
first time submitting a report and I'd already fixed things by the time
I got around to writing all of this up. I didn't even know that send-pr
existed until I went to subscribe to the list to submit the report.=20

I will do better next time, I promise! :)

I recently encountered problems on my FreeBSD 4.11 system while
attempting to upgrade clamav from 0.88.5 to 0.90.1, via ports. I've
tried to include as much information as possible below. Everything is
working now after some manual tweaks, but I thought the maintainers
might like to have this info...

--

System: FreeBSD shaunc.com 4.11-RELEASE-p26 FreeBSD 4.11-RELEASE-p26
#12: Tue Jan  9 10:00:05 CST 2007 root at shaunc.com:/usr/obj/usr/src/sys/g=
uerrilla
i386

Description: After upgrading clamav from 0.88.5 to 0.90.1 via ports, the
clamav-clamd.sh and clamav-freshclam.sh rc scripts fail, and the
clamd.conf and freshclam.conf files contain invalid parameters.

How to Repeat:

cvsup /path/to/ports/supfile
cd /usr/ports/security/clamav
make install
cd /usr/local/etc/rc.d
=2E/clamav-clamd.sh restart #errors ensue
=2E/clamav-freshclam.sh restart #errors ensue

-- Detailed errors reproduced below --

[root@agaliarept rc.d]# ./clamav-clamd.sh restart
Can't open /etc/rc.subr: No such file or directory
[root@agaliarept rc.d]ln -s /usr/local/etc/rc.subr /etc/rc.subr
[root@agaliarept rc.d]# ./clamav-clamd.sh restart
Stopping clamav_clamd.
Waiting for PIDS: 60019.
Starting clamav_clamd.
ERROR: Parse error at line 76: Option FixStaleSocket requires boolean argum=
ent.
ERROR: Can't open/parse the config file /usr/local/etc/clamd.conf

(
patch clamd.conf:
-FixStaleSocket
+FixStaleSocket false
)

[root@agaliarept rc.d]# ./clamav-clamd.sh start
Starting clamav_clamd.
ERROR: Parse error at line 148: Option AllowSupplementaryGroups requires bo=
olean argument.
ERROR: Can't open/parse the config file /usr/local/etc/clamd.conf

(
patch clamd.conf:
-AllowSupplementaryGroups
+AllowSupplementaryGroups false
)

[root@agaliarept rc.d]# ./clamav-clamd.sh start
Starting clamav_clamd.
ERROR: Parse error at line 204: Option ScanMail requires boolean argument.
ERROR: Can't open/parse the config file /usr/local/etc/clamd.conf

(
patch clamd.conf:
-ScanMail
+ScanMail true
)

[root@agaliarept rc.d]# ./clamav-freshclam.sh restart
Stopping clamav_freshclam.
Starting clamav_freshclam.
ERROR: Parse error at line 44: Option AllowSupplementaryGroups requires boo=
lean argument.

(
patch freshclam.conf:
-AllowSupplementaryGroups
+AllowSupplementaryGroups false
)

[root@agaliarept rc.d]# ./clamav-freshclam.sh restart
Stopping clamav_freshclam.
Starting clamav_freshclam.
ERROR: Parse error at line 85: Option NotifyClamd requires string argument.

(
patch freshclam.conf:
-NotifyClamd
+NotifyClamd false
)




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