[Pkg-clamav-devel] Bug#971842: Bug#971842: clamav-daemon erroneously reports "Failed with result 'timeout'" when stopped

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Sun Nov 1 14:29:21 GMT 2020


On 2020-10-08 14:47:28 [+0200], dominik wrote:
> Dear Maintainer,
> 
> when running "service clamav-daemon stop", an error gets reported in syslog:
> 
> systemd[1]: clamav-daemon.service: Failed with result 'timeout'.
> 
> This is unexpected. Stopping a service should not fail with a timeout

I'm afraid I need some more information here. 
My guess is that clamav-daemon is running. If you try to stop the
daemon, by the command you mentioned above, then it will send a SIGTERM
to the daemon and wait for the daemon to terminate. That timeout is
around one minute and twenty seconds. Plenty of time.
The `stop' command should not take that long. If that takes _long_ for
the daemon to process the signal it might be because it is swapped out.
But in that case it shouldn't be able to process scan requests in a
timely manner.
So I am puzzled what is going on.

Sebastian



More information about the Pkg-clamav-devel mailing list