Readiness notification using signals

From: Carlos Eduardo <>
Date: Wed, 29 Sep 2021 09:24:54 -0300

I'm supervising an instance of an X Server using s6.

X.Org has a built-in readiness notification mechanism: it sends a USR1
to its parent process once it's ready. From what I know, it would be

However, after reading the documentation, there doesn't seem to be a
way to set up custom USR1 handlers for s6-supervise. As far as I know,
this leaves me with two, not quite ideal solutions: make the run
script spawn X and do readiness notification on its behalf (which
lengthens the supervision chain), or poll it (which is what I've been
doing). Is there a way to not let the information from this USR1 not
"go to waste"?

Forgive me if I'm not seeing an obvious solution for this problem that
doesn't involve patching either software.
Received on Wed Sep 29 2021 - 14:24:54 CEST

This archive was generated by hypermail 2.4.0 : Wed Sep 29 2021 - 14:24:53 CEST