start-stop-damon shouldn't have added option "--stop" when is sending HUP to rspamd. Trivial change fixes it: - start-stop-daemon --stop --signal HUP --quiet --pidfile $PIDFILE + start-stop-daemon --signal HUP --quiet --pidfile $PIDFILE Reproducible: Always Actual Results: # /etc/init.d/rspamd reload 2016-11-25 09:38:13 #21999(configtest) lua; asn.lua:169: Unknown provider_type: cymru 2016-11-25 09:38:13 #21999(configtest) <bmr7it>; symcache; rspamd_symbols_cache_post_init: cannot find dependency on symbol FILL_THIS_FORM_LONG 2016-11-25 09:38:13 #21999(configtest) <bmr7it>; symcache; rspamd_symbols_cache_post_init: cannot find dependency on symbol FREEMAIL_REPLYTO * Reloading rspamd ... * start-stop-daemon: 1 process refused to stop [ !! ] Expected Results: # /etc/init.d/rspamd reload 2016-11-25 09:38:55 #22284(configtest) lua; asn.lua:169: Unknown provider_type: cymru 2016-11-25 09:38:55 #22284(configtest) <bmr7it>; symcache; rspamd_symbols_cache_post_init: cannot find dependency on symbol FILL_THIS_FORM_LONG 2016-11-25 09:38:55 #22284(configtest) <bmr7it>; symcache; rspamd_symbols_cache_post_init: cannot find dependency on symbol FREEMAIL_REPLYTO * Reloading rspamd ... [ ok ]
Was fixed somewhere in the past
Rather no, please look at rspamd.logrotate: [...] service rspamd reopenlog >/dev/null 2>&1 || true [...] `service` - no such command, now service is moved out from openrc. Also # grep reopenlog /usr/portage/mail-filter/rspamd/files/rspamd.init-r* # There is no function reopenlog() in init script.
Hopefully this should be fixed by bug #651134
In rspamd-1.8.3.ebuild, runscript and logrotate was rewritten. If it wasn't fixed before, it should be fixed now.