clamav 0.88.5 to 0.90.1 woes under FreeBSD 4.11

Shaun shaun at shaunc.com
Sat Mar 24 04:23:45 UTC 2007


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. 

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/guerrilla
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
./clamav-clamd.sh restart #errors ensue
./clamav-freshclam.sh restart #errors ensue

-- Detailed errors reproduced below --

[root at agaliarept rc.d]# ./clamav-clamd.sh restart
Can't open /etc/rc.subr: No such file or directory
[root at agaliarept rc.d]ln -s /usr/local/etc/rc.subr /etc/rc.subr
[root at 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 argument.
ERROR: Can't open/parse the config file /usr/local/etc/clamd.conf

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

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

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

[root at 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 at agaliarept rc.d]# ./clamav-freshclam.sh restart
Stopping clamav_freshclam.
Starting clamav_freshclam.
ERROR: Parse error at line 44: Option AllowSupplementaryGroups requires boolean argument.

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

[root at 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
)




More information about the freebsd-ports-bugs mailing list