Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
clamav init script won't kill processes when stopped (BUG)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
hexa
Apprentice
Apprentice


Joined: 10 Aug 2005
Posts: 163

PostPosted: Wed Dec 17, 2008 2:23 pm    Post subject: clamav init script won't kill processes when stopped (BUG) Reply with quote

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
View user's profile Send private message
hexa
Apprentice
Apprentice


Joined: 10 Aug 2005
Posts: 163

PostPosted: Wed Dec 17, 2008 2:47 pm    Post subject: Reply with quote

I think this is a bug. Any other suggestions?
Back to top
View user's profile Send private message
hexa
Apprentice
Apprentice


Joined: 10 Aug 2005
Posts: 163

PostPosted: Thu Dec 18, 2008 11:56 am    Post subject: Reply with quote

I'm not alone with this problem:
https://bugs.gentoo.org/show_bug.cgi?id=249231
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum