| Summary: | clamav-0.80 won't compile without local clamav user | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Gudleik Rasch <gudleik> |
| Component: | Current packages | Assignee: | Antivirus Team <antivirus> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | gudleik, rockoo |
| Priority: | High | ||
| Version: | 2004.3 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
This will be fixed in clamav-0.85-r1. Thanks a lot! Please REOPEN this bug, a NEW one is inappropriate...
Changing this broke (at least) the upgrade form 0.83 to 0.85-r1:
configure:13468: checking for clamav using id
configure:13538: result: no
configure:13540: error: User clamav (and/or group clamav) doesn't exist. Please
read the documentation !
# grep clamav /etc/{passwd,group}
/etc/passwd:clamav:x:102:2088:added by portage for clamav:/dev/null:/bin/false
/etc/group:clamav:x:2100:
# id clamav
uid=102(clamav) gid=2088 groups=2088
No idea what is causing this...
After `userdel clamav`, I could install the 0.85-r1 OK.
The new information is:
/etc/passwd:clamav:x:102:2100:added by portage for clamav:/dev/null:/bin/false
/etc/group:clamav:x:2100:qscand
(I added the qscand manually)
So no idea whatsoever... Perhaps the configure script?
Please read discussions in bug #94709, which deals with this exact issue. Basically, the problem here is that clamav user doesn't belong to group clamav (which was probably removed, or renumbered, but I have absolutely no idea why). |
app-antivirus/clamav-0.80 fails to compile: checking for clamav in /etc/passwd... no configure: error: User clamav (and/or group clamav) doesn't exist. Please read the documentation ! I use nss_ldap and I have a clamav user in the ldap directory and not in /etc/passwd. But ClamAV can use getent instead of parsing /etc/passwd. This patch will fix the problem: --- /usr/portage/app-antivirus/clamav/clamav-0.80.ebuild 2004-11-15 15:06:41.000000000 +0100 +++ /usr/local/portage/app-antivirus/clamav/clamav-0.80-r1.ebuild 2004-11-26 13:47:01.721198904 +0100 @@ -32,7 +32,7 @@ local myconf use milter && myconf="--enable-milter" - econf ${myconf} --with-dbdir=/var/lib/clamav || die + econf ${myconf} --with-dbdir=/var/lib/clamav --enable-id-check || die emake || die }