Re: s6-linux-init: SIGUSR1 and SIGUSR2

From: Martin \ <et.code_at_ethome.sk>
Date: Mon, 22 Aug 2016 16:29:21 +0200

On Mon, 22 Aug 2016 07:26:12 -0700

Colin Booth <cathexis_at_gmail.com> wrote:
> My own $0.02 is that s6-svscan -S should ignore power state signals
> (including SIGINT which it currently doesn't ignore).

I haven't really understood this thread, but I think I am starting to
understand.

Correct me, if I am wrong, but is this about signals, which generate various
cleanup paths to end normal machine operations aka "curuising" mode?

Because if so, there is problem I hit before, but thought it was PEBKAC on my
part.

Currently on FreeBSD, when s6-svscan runs as PID1, native "reboot" command makes
s6-svscan do proper cleanup (I guess it sends signal which is
correctly interpreted by s6-svscan as shutdown signal). While shutdown does
"nothing". I guess on that box I need to add -S switch and introduce signal
handling scripts?

  eto
Received on Mon Aug 22 2016 - 14:29:21 UTC

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