Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96634 - squidclam ebuild broken
Summary: squidclam ebuild broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Network Proxy Developers (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-20 12:01 UTC by Scott
Modified: 2005-06-20 12:17 UTC (History)
0 users

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 Scott 2005-06-20 12:01:33 UTC
Installed squidclam to allow squid to pipe downloads through clamav. Edited
squid.conf as per docs (although path to squidclam is inaccurate in docs).
Restarted squid, and it simply crashes out with "The redirector helpers are
crashing too rapidly, need help!_". Suspect broken ebuild/permission problem.
Running squidclam manually shows no problems and it appears to work find in
other distros.

Reproducible: Always
Steps to Reproduce:
1. /etc/init.d/squid restart
2. 
3.

Actual Results:  
squid crashes out, with errors in log

Expected Results:  
squid to work with squidclam
Comment 1 Scott 2005-06-20 12:17:33 UTC
Found that the problem is caused by permission problems due to squid and clamav
running as different users. My fix was to do the following:

chmod 770 /var/lib/clamav
chgrp -R squid /var/lib/clamav
cd /var/lib/clamav
chmod 664 *

This allows squid to access clamav's files. None of this is mentioned in the
docs, so I hope it helps someone else who is trying to install this!