Hello all,
It appears that signal handling in the milter has gotten significantly
worse in 0.81 - it now no longer responds to a kill on linux 2.4
kernels, as far as my tests show.
This is true so far with and without --external, as far as I can tell.
Also note this strange behavior:
steve@hadrian:~$ ps -el | egrep '(PID|clamav-milter)'
F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD
steve@hadrian:~$ sudo /etc/init.d/clamav-milter start
Starting Sendmail milter plugin for ClamAV: clamav-milter
steve@hadrian:~$ ps -el | egrep '(PID|clamav-milter)'
F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD
040 S 105 19279 1 0 70 0 - 1126 select ? 00:00:00 clamav-milter
040 S 105 19280 19279 0 70 0 - 1126 poll ? 00:00:00 clamav-milter
040 S 105 19281 19280 0 69 0 - 1126 rt_sig ? 00:00:00 clamav-milter
(second term)
steve@hadrian:~$ sudo /etc/init.d/clamav-milter stop
Stopping Sendmail milter plugin for ClamAV: Waiting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Failed.. clamav-milter
(sorry about the bad wrap)
But back on the first term, while waiting for failure, I see:
steve@hadrian:~$ ps -el | egrep '(PID|clamav-milter)'
F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD
040 S 105 19279 1 0 69 0 - 1126 select ? 00:00:00 clamav-milter
040 S 105 19280 19279 0 69 0 - 1126 poll ? 00:00:00 clamav-milter
040 S 105 19281 19280 0 69 0 - 1126 rt_sig ? 00:00:00 clamav-milter
100 S 0 19348 1381 0 76 0 - 596 wait4 pts/0 00:00:00 clamav-milter
steve@hadrian:~$ w
23:51:51 up 105 days, 14:02, 2 users, load average: 0.00, 0.00, 0.00
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
steve pts/0 gashuffer.lobefi 09:28 2.00s 0.66s 0.04s mutt
steve pts/1 gashuffer.lobefi 23:24 0.00s 0.15s 0.01s w
Where did that extra one come from? It's in a wait state, and it's
controlling TTY is the TTY of the kill process? This makes no sense to
me.
It appears that something went wrong here, but I am not sure what. kill
-9 still works, but that is the only thing that works.
--
--------------------------------------------------------------------------
| Stephen Gran | Arnold's Addendum: Anything not |
| steve@lobefin.net | fitting into these categories causes |
| http://www.lobefin.net/~steve | cancer in rats. |
--------------------------------------------------------------------------
_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-devel