stopping freshclam doesn't remove pidfile
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ClamAV |
Fix Released
|
Medium
|
|||
clamav (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
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/
6468
root@utest-oos32:~# /etc/init.
* 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/
6468
root@utest-oos32:~#
In contrast, when stopping clamav-daemon its pidfile does get removed.
Changed in clamav (Ubuntu): | |
status: | New → Confirmed |
Changed in clamav (Ubuntu): | |
importance: | Undecided → Low |
Changed in clamav: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in clamav: | |
status: | Confirmed → Fix Released |
I have confirmed to have the same issue with clamav- 0.97+dfsg- 2ubuntu1. 1 on a fresh install of Ubuntu 11.04.
root@ubuntu:~# ps aux | grep clamav clamav/ freshclam. pid clamav/ freshclam. pid clamav/ freshclam. pid d/clamav- freshclam stop clamav/ freshclam. pid clamav/ freshclam. pid clamav/ freshclam. pid clamav/ freshclam. pid^Cid
clamav 1534 8.4 0.3 13244 1824 ? Ss 22:15 0:07 /usr/bin/freshclam -d --quiet
root@ubuntu:~# ls -l /var/run/
-rw-rw---- 1 clamav clamav 4 2011-08-22 22:15 /var/run/
root@ubuntu:~# cat /var/run/
1534
root@ubuntu:~# /etc/init.
* Stopping ClamAV virus database updater freshclam [ OK ]
root@ubuntu:~# ls -l /var/run/
-rw-rw---- 1 clamav clamav 4 2011-08-22 22:15 /var/run/
root@ubuntu:~# cat /var/run/
1534
root@ubuntu:~# ls -l /var/run/
root@ubuntu:~# ps aux | grep clam
root 1785 0.0 0.1 4148 852 pts/0 S+ 22:26 0:00 grep --color=auto clam