Sunday, October 27, 2019

Re: rspamd stop rc script doesn't work in OpenBSD 6.6

On 2019-10-27 17:29, Chris Narkiewicz wrote:
> Rspamd stop rc script doesn't work in OpenBSD 6.6.
>
> 1. Fresh OpenBSD 6.6 installation
> 2. pkg_add rspamd
> 3. rcctl start rspamd
>
> Works.
>
> 4. rcctl stop rspamd timeouts
>
> Looking at rspamd logs, it looks like it doesn not work
> well with SIGTERM. It waits for workers.
>
> Currently I work around it by adding custom rc_stop():
>
> rc_stop() {
>     pkill -KILL -T "${daemon_rtable}" -xf "${pexp}"
>     pkill -KILL -u _rspamd
> }
>
>
> Anybody can confirm if this is a problem?
>

Yes, can confirm. I think I read something the other day mentioning
sthen@ possibly having a diff floating around to fix the issue.
Hopefully the fix will be backported to -stable.

No comments:

Post a Comment