Tried having just: ExcludePath ^/sys/
restarted clamd, and then ran clamdscan /sys still is trying to scan the directory. Scott On Fri, Mar 13, 2009 at 1:04 PM, Dennis Peterson <denni...@inetnw.com>wrote: > Scott Mohnkern wrote: > > I recently put .95 on an Ubuntu box, and ExcludePath in clamd.conf > doesn't > > seem to be working right. > > > > Here's the lines from /usr/local/etc/clamd.conf for the ExcludePath > > > > ExcludePath ^/proc/ > > ExcludePath ^/sys/ > > ExcludePath ^//sys/ > > ExcludePath ^/tmp/ > > > > > > I realized that there was some question about whether two //'s or one in > the > > configuration file in previous versions, so I did one of each. > > > > > > Then I typed: > > > > sudo clamd --config-file=/usr/local/etc/clamd.conf > > > > > > to make sure it was pointing at the right configuration file. > > > > Then I typed: > > > > sudo clamdscan /sys > > > > As a test. I'd expect since /sys is specifically excluded, that it would > > not scan anything, however, it attempted to scan /sys (and ran into > > problems). > > > > > > Has anyone else seen this symptom? > > > > > > Scott > > > > > > https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1263 > > I thought this was going to get fixed in 0.95 - It was brought up here in > February. I take it you're using a 0.95 RC version? Try using "^//" only > and not > both "^//" and "^?". > > dp > _______________________________________________ > Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net > http://www.clamav.net/support/ml > -- Scott Mohnkern _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml