Control: tags -1 + moreinfo

On Mon, Feb 12, 2024 at 10:42:31AM +0100, Alessandro Vesely wrote:
> /etc/init.d/spamd still uses --name instead of --exec.
> This is noticeable on shutdown, what the system waits 
> for some time trying to kill spamd, and then complains 
> something about its inability to track process names 
> and suggests to use --exec injstead.

I do not experience this when running under sysvinit on Debian 12 with
the following package versions:

ii  init-system-helpers 1.65.2       all          helper tools for all init 
systems
ii  spamd               4.0.0-6      all          Server for SpamAssassin spam 
filtering daemon
ii  sysvinit-core       3.06-4       amd64        System-V-like init

When stopping spamd, there is no indication of any delay or other issue
terminating spamd.

Manual termination:
root@debian-sysv:~# /etc/init.d/spamd status
spamd is running.
root@debian-sysv:~# /etc/init.d/spamd stop
Stopping SpamAssassin Mail Filter Daemon: spamd.
root@debian-sysv:~# /etc/init.d/spamd status
spamd is not running ... failed!

Console output on shutdown:
root@debian-sysv:~# /etc/init.d/spamd status
spamd is running.
root@debian-sysv:~# shutdown -h now
...
Stopping SpamAssassin Mail Filter Daemon: spamd.
...

What is the specific warning you're seeing?  Is spamd actually running
when the init script is executing?

noah

Reply via email to