Public bug reported: Binary package hint: clamav-base
I've upgraded ClamAV running on Ubuntu Jaunty from version 0.95.3+dfsg-1ubuntu0.09.04.1 to version 0.96+dfsg-1ubuntu2 which I backported using source package for coming Ubuntu Lucid. Unfortunately ClamAV failed during restart as you can see below: * Stopping ClamAV daemon clamd [ OK ] [...] * Starting ClamAV daemon clamd \ ERROR: Failed to change socket ownership to group clamav Closing the main socket. [fail] Please note that my ClamAV daemon runs with privileges of "amavis" user, not default "clamav" user, so its socket has the following owner and group: # ls -l /var/run/clamav/ total 0 s--------- 1 amavis amavis 0 2010-04-22 16:30 clamd.ctl # ls -ld /var/run/clamav/ drwxr-xr-x 2 amavis root 60 2010-04-22 16:30 /var/run/clamav/ The reason of the socket problem is that clamav-base.postinst script doesn't check user of clamd process and set automatically new option "SocketLocalGroup clamav" in /etc/clamav/clamd.conf file. My ClamAV ran successfully again when I set "SocketLocalGroup amavis" there and restarted it. I think that post install script of clamav-base package should be more smart and check "User" option in the config file of clamd. ** Affects: clamav (Ubuntu) Importance: Undecided Status: New -- clamav-base.postinst doesn't check user of clamd when it sets LocalSocketGroup https://bugs.launchpad.net/bugs/568946 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs