View previous topic :: View next topic |
Author |
Message |
hexa Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 10 Aug 2005 Posts: 163
|
Posted: Wed Dec 17, 2008 2:23 pm Post subject: clamav init script won't kill processes when stopped (BUG) |
|
|
Hi,
if i want to stop clamav with /etc/init.d/clamd stop, it won't stop the services, but still report success.
Code: |
ibm1 conf.d # killall clamd freshclam
ibm1 conf.d # ps faxu | grep clam
root 3471 0.0 0.0 3932 564 pts/0 S+ 15:30 0:00 \_ grep --colour=auto clam
ibm1 conf.d # /etc/init.d/clamd start
* Starting clamd ... [ ok ]
* Starting freshclam ... [ ok ]
ibm1 conf.d # ps faxu | grep clam
root 3497 0.0 0.0 3940 564 pts/0 S+ 15:30 0:00 \_ grep --colour=auto clam
amavis 3488 0.0 1.8 122772 94508 ? SNs 15:30 0:00 /usr/sbin/clamd
amavis 3493 0.0 0.0 30016 908 ? SNs 15:30 0:00 /usr/bin/freshclam -d
ibm1 conf.d # /etc/init.d/clamd stop
* Stopping clamd ... [ ok ]
* Stopping freshclam ... [ ok ]
ibm1 conf.d # ps faxu | grep clam
root 3513 0.0 0.0 3928 568 pts/0 S+ 15:30 0:00 \_ grep --colour=auto clam
amavis 3488 0.0 1.8 122772 94508 ? SNs 15:30 0:00 /usr/sbin/clamd
amavis 3493 0.0 0.0 30016 908 ? SNs 15:30 0:00 /usr/bin/freshclam -d
|
They should be stopped but they aren't? I have clamav running under amavis user, but this shouldn't fuck up the init stript, should it?
I think i have had this problem before and i just added killall to the init script and discarded the output from the command.
Last edited by hexa on Thu Dec 18, 2008 3:23 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hexa Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 10 Aug 2005 Posts: 163
|
Posted: Wed Dec 17, 2008 2:47 pm Post subject: |
|
|
I think this is a bug. Any other suggestions? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hexa Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 10 Aug 2005 Posts: 163
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|