Bug#1063758: spamd: /etc/init.d/spamd still uses --name instead of --exec
On Wed 24/Apr/2024 18:47:42 +0200 Noah Meyerhans wrote: On Wed, Apr 24, 2024 at 10:02:47AM +0200, Alessandro Vesely wrote: Stopping S.M.A.R.T. daemon smartd. Stopping SpamAssassin Mail Filter Daemon spamd. start-stop-daemon: warning: this system is not able to track process names longer than 15 characters. please use --exec instead of --name. Next it hangs there for several seconds (~30). The next string says: Asking all remaining processes to terminate...done. Is it not SpamAssassin causing that warning? If it is, it doesn't do it on Debian. Even with sysvinit, though, the stop jobs during shutdown run in parallel, so that message may be coming from somewhere else. If you manually stop spamassassin with `/etc/init.d/spamd stop`, do you get the same warning? Good question! No, I don't. It stops cleanly and quickly. You may need to stop/start each service individually to find the culprit. We can reassign this bug accordingly when you do. Hm... I tried the two immediately preceding (K57)smartd, which happen to be smartmontools and rpcbind, and they also work well. I have /etc/init.d/.legacy-bootordering, so scripts should run one at a time. Is it possible that the start/ stop functions work differently when many daemons have been stopped? BTW, there are several scripts using --name; I have: # grep -l -- --name /etc/init.d/* | wc -l 21 # grep -l -- --exec /etc/init.d/* | wc -l 37 Best Ale
Bug#1063758: spamd: /etc/init.d/spamd still uses --name instead of --exec
On Wed, Apr 24, 2024 at 10:02:47AM +0200, Alessandro Vesely wrote: > > > Stopping S.M.A.R.T. daemon smartd. > > > Stopping SpamAssassin Mail Filter Daemon spamd. > > > start-stop-daemon: warning: this system is not able to track process names > > > longer than 15 characters. please use --exec instead of --name. > > > > > > Next it hangs there for several seconds (~30). The next string says: > > > > > > Asking all remaining processes to terminate...done. > > > > > > Is it not SpamAssassin causing that warning? > > > > If it is, it doesn't do it on Debian. Even with sysvinit, though, the > > stop jobs during shutdown run in parallel, so that message may be coming > > from somewhere else. > > > > If you manually stop spamassassin with `/etc/init.d/spamd stop`, do you > > get the same warning? > > > Good question! No, I don't. It stops cleanly and quickly. You may need to stop/start each service individually to find the culprit. We can reassign this bug accordingly when you do. noah
Bug#1063758: spamd: /etc/init.d/spamd still uses --name instead of --exec
On Tue 23/Apr/2024 18:39:00 +0200 Noah Meyerhans wrote: On Sun, Apr 14, 2024 at 02:09:05PM +0200, Alessandro Vesely wrote: Sorry for the delay. Today a new kernel image was loaded, so I had to reboot. I attach a screenshot of the closing session. Near the bottom, it says: Stopping S.M.A.R.T. daemon smartd. Stopping SpamAssassin Mail Filter Daemon spamd. start-stop-daemon: warning: this system is not able to track process names longer than 15 characters. please use --exec instead of --name. Next it hangs there for several seconds (~30). The next string says: Asking all remaining processes to terminate...done. Is it not SpamAssassin causing that warning? If it is, it doesn't do it on Debian. Even with sysvinit, though, the stop jobs during shutdown run in parallel, so that message may be coming from somewhere else. If you manually stop spamassassin with `/etc/init.d/spamd stop`, do you get the same warning? Good question! No, I don't. It stops cleanly and quickly. Sorry for the noise. Ale
Bug#1063758: spamd: /etc/init.d/spamd still uses --name instead of --exec
On Sun, Apr 14, 2024 at 02:09:05PM +0200, Alessandro Vesely wrote: > Sorry for the delay. Today a new kernel image was loaded, so I had to > reboot. I attach a screenshot of the closing session. Near the bottom, it > says: > > Stopping S.M.A.R.T. daemon smartd. > Stopping SpamAssassin Mail Filter Daemon spamd. > start-stop-daemon: warning: this system is not able to track process names > longer than 15 characters. please use --exec instead of --name. > > Next it hangs there for several seconds (~30). The next string says: > > Asking all remaining processes to terminate...done. > > Is it not SpamAssassin causing that warning? If it is, it doesn't do it on Debian. Even with sysvinit, though, the stop jobs during shutdown run in parallel, so that message may be coming from somewhere else. If you manually stop spamassassin with `/etc/init.d/spamd stop`, do you get the same warning? noah
Bug#1063758: spamd: /etc/init.d/spamd still uses --name instead of --exec
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 amd64System-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
Bug#1063758: spamd: /etc/init.d/spamd still uses --name instead of --exec
Package: spamd Version: 4.0.0-6 Severity: normal Dear Maintainer, /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. Best Ale -- System Information: Debian Release: 12.0 merged-usr: no Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.1.0-18-amd64 (SMP w/8 CPU threads; PREEMPT) Kernel taint flags: TAINT_WARN Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 Shell: /bin/sh linked to /bin/bash Init: sysvinit (via /sbin/init) Versions of packages spamd depends on: ii init-system-helpers 1.65.2devuan1 ii rsyslog [system-log-daemon] 8.2302.0-1devuan1 ii spamassassin 4.0.0-6 spamd recommends no packages. spamd suggests no packages. -- Configuration Files: /etc/default/spamd changed [not included] -- no debconf information