Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100980 - clamav milter fails to run
Summary: clamav milter fails to run
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Antivirus Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-01 03:59 UTC by Piero Orsoni
Modified: 2005-09-16 05:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piero Orsoni 2005-08-01 03:59:03 UTC
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
Comment 1 Andrea Barisani (RETIRED) gentoo-dev 2005-08-01 17:11:27 UTC
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?
Comment 2 vulcan 2005-08-01 21:10:09 UTC
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
Comment 3 vulcan 2005-08-02 13:22:55 UTC
(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).
Comment 4 Andrea Barisani (RETIRED) gentoo-dev 2005-09-16 05:53:48 UTC
fixed in CVS