Comment 5 for bug 829944

Revision history for this message
In , Imre Gergely (cemc) wrote :

Found this in Ubuntu when testing clamav 0.97.2.

https://bugs.launchpad.net/bugs/829944

In latest clamav 0.97.2, when stopping freshclam daemon the usual way, its pidfile doesn't get removed

root@utest-oos32:~# ps ax |grep freshclam
 6468 ? Ss 0:01 /usr/bin/freshclam -d --quiet
 6473 pts/0 S+ 0:00 grep --color=auto freshclam

root@utest-oos32:~# cat /var/run/clamav/freshclam.pid
6468

root@utest-oos32:~# /etc/init.d/clamav-freshclam stop
 * Stopping ClamAV virus database updater freshclam [ OK ]

root@utest-oos32:~# ps ax |grep freshclam
 6609 pts/0 S+ 0:00 grep --color=auto freshclam

root@utest-oos32:~# cat /var/run/clamav/freshclam.pid
6468
root@utest-oos32:~#

In contrast, when stopping clamav-daemon its pidfile does get removed.