Re: s6-linux-init: SIGUSR1 and SIGUSR2

From: Laurent Bercot <>
Date: Mon, 22 Aug 2016 12:15:59 +0200

On 21/08/2016 23:17, Guillermo wrote:
> Yeah, it seems it has come to that :) But the funny thing is a few of
> the init systems for [GNU/]Linux are, or can be made to be, *almost*
> (to different degrees) compatible with this signal set:
> a) SIGTERM for reboot
> b) SIGUSR1 for halt
> c) SIGUSR2 for poweroff
> d) SIGINT for a programmable CTRL + ALT + Del action
> e) SIGWINCH for a programmable 'keyboard request' action

  The next s6+friends version release will have major version bumps all
around, so compatibility is moot anyway. If you really think it's worth it
to swap SIGUSR1 and SIGUSR2, I'll do it. (I'd change the non-diverted
meanings in s6-svscan, so that they remain in sync with the diverted ones.)
I can also add SIGWINCH support to s6-svscan, but only when it's diverted,
because there's no possible portable default semantics.

  What do you think?

Received on Mon Aug 22 2016 - 10:15:59 UTC

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