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