Hi there,

On Thu, 1 Aug 2013, Bob Miller wrote:

G.W. Haywood wrote:

> Set the owner of the socket to root, and then repeat your tests.

I was able to make your suggestion work by removing the following two
lines from clamd.conf:

User clamav
LocalSocketGroup simscan

which creates the socket thusly:

srw-rw---- 1 root root    0 Jul 31 10:04 clamd.socket

This way clamd runs as root, daemontools can restart clamd, and simscan
can scan the test message.  It works, but I am not really liking the
idea of running clamd as root.

That wasn't what I suggested, and I agree with Mr. Peterson. :)

My suggestion was merely that you change the owner of the socket
and repeat your tests.  Nothing more, nothing less, nothing else.
You might find the results interesting.

--

73,
Ged.
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to