After emerging clamav 0.86.2 (updating 0.86.1) clamav-milter fails to start with this error: clamav-milter: --timeout must not be given if --external is not given even though --timeout is not set. Tried removing all other options but doesn't change. Sims like the default value for timeout is not 0 (as opposed to what's in the man page and what was before), because starting it with --timeout=0 works. Reproducible: Always Steps to Reproduce: 1.emerge new clamav 2.launch clamav-milter without --external 3. Actual Results: clamav-milter: --timeout must not be given if --external is not given Expected Results: the milter should have started as it did before the update Portage 2.0.51.22-r2 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.5-r0, 2.6.9-gentoo-r1 x86_64) ================================================================= System uname: 2.6.9-gentoo-r1 x86_64 AMD Opteron(tm) Processor 246 Gentoo Base System version 1.4.16 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -march=opteron -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=opteron -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 alsa apache2 avi berkdb bitmap-fonts crypt curl encode foomaticdb fortran freetds gd gdbm gif gpm imlib ipv6 jpeg ldap libwww lzw lzw-tiff mbox milter mp3 mpeg mysql ncurses nls opengl pam pdflib perl png pwdb python quicktime readline samba sdl slang spell ssl tcpd threads tiff truetype-fonts type1-fonts usb userlocales xml2 xpm xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Well things changes with new releases, did you etc-update your /etc/conf.d/clamd ? Default conf shouldn't have this problem and if this is due to a previous configuration set by the user theresn't much we can do about it, just comply with the error message and change the configuration accordingly. suggestions?
The bug also affects other distributions in addition to Gentoo. See: http://lurker.clamav.net/message/20050730.232933.048b52e4.en.html http://lurker.clamav.net/message/20050725.022710.d9edb883.en.html
(In reply to comment #1) > Well things changes with new releases, did you etc-update your /etc/conf.d/clamd ? > Default conf shouldn't have this problem and if this is due to a previous > configuration set by the user theresn't much we can do about it, just comply with > the error message and change the configuration accordingly. > > suggestions? The default conf does have the problem and it is not an issue caused by a user modification. Line 99 of the clamav-0.86.2.ebuild file adds a line to /etc/conf.d/clamd that reads: MILTER_OPTS="-m 10" The line has to have "--timeout=0" added to it: MILTER_OPTS="-m 10 --timeout=0" Any existing configuration file also has to have that line modified (or a heads up given to the user to modify that line).
fixed in CVS