Re: s6-permafailon not acting as expected

From: Xavier Stonestreet <xstonestreet_at_gmail.com>
Date: Tue, 17 Nov 2020 19:43:29 +0100

Hold on, I've now encountered the same issue for another service, but
with signals :)

In servicedir's finish:
s6-permafailon 120 2 1-255,SIGBUS,SIGSEGV exit 0

svc -t servicedir
svc -t servicedir

2020-11-17 19:20:24.465424531 s6-permafailon: info: PERMANENT FAILURE
triggered after 2 events involving signal 15 in the last 120 seconds

s6-svdt servicedir | s6-tai64nlocal
2020-11-17 19:19:30.449842687 signal SIGTERM
2020-11-17 19:20:24.419594225 signal SIGTERM

Back to s6-permafailon.c: the sigset_t sigs is not initialized
either... Looks like it needs a call to sigemptyset().

Hope this helps :)
Received on Tue Nov 17 2020 - 18:43:29 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC