Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 349018

Summary: net-proxy/squid-3.1.8 vs net-proxy/c-icap-0.1.3 vs net-proxy/squidclamav-6.1 failure
Product: Gentoo Linux Reporter: Attila Tóth <atoth>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Attila Tóth 2010-12-18 12:55:04 UTC
I appreciate the efforts of the squidclamav maintainers. However I cannot make the new combination work. The instructions provided by the ebuilds aren't enough.
I can see, that c-icap distributes the clamav module in the c-icap-modules package. There are no ebuild exists for it. And there are obviously a bunch of configuration options present in the supplied c-icap clamav service configuration file, which is advised to be included in the base c-icap configuration file. My squid.conf is not complicated. It's a simple local caching configuration. No transprency, simple authentication, clean acls.
Although the c-icap squidclam combo is still screwed up at some level. I'm really pissed, that I have to f* with this while I'm on call and would have other more important things to do.

Wouldn't it be possible to provide a simple way working out-of-the-box or provide c-icap-modules ebuild? Or I don't know what?

Here are my error messages:
Dec 18 13:35:03 atoth c-icap: general, Creating new access entry for syslog module with specs:
Dec 18 13:35:03 atoth
Dec 18 13:35:03 atoth c-icap: general,  Adding acl spec: all
Dec 18 13:35:03 atoth
Dec 18 13:35:03 atoth c-icap: general, DEBUG squidclamav_init_service: Going to initialize squidclamav
Dec 18 13:35:03 atoth
Dec 18 13:35:03 atoth c-icap: general, Error opening/parsing config file
Dec 18 13:35:03 atoth

- for the syslog part I also don't understand what the f is the problem, since I simply enabled syslog logging. The builtin facility.
- but the whole thing dies at initializing the clamav part. That is the point where I inserted the single line according to the ebuild info.

Please let me know at least a working combination of config files for a simple squid-cicap-clamav combo.

Thanks.

Reproducible: Always

Steps to Reproduce:
Comment 1 Attila Tóth 2010-12-18 15:28:08 UTC
Here are my 2 cent tips:
1. If you enable the syslog module you should comment out file logging options and vica versa.
2. The acl system has some flaws. Even a simple setup can prevent c-icap from loading. Keep it disabled if you don't have a bunch of time.