Running s6-supervise as PID 1?

From: Demi Marie Obenour <demiobenour_at_gmail.com>
Date: Mon, 20 Apr 2026 17:55:40 -0400

I'm wondering if s6-svscan could have a per-service flag to run
s6-supervise as PID 1 in a PID namespace.

While one can run a subprocess of s6-supervise, it has a few limitations:

- The child process must forward signals to all of its child processes.
- It's an extra process that sits around doing nothing.
- The commands that kill a child process while leaving its children
  alive don't work.

This would also require s6-supervise to reap
zombies, which is presumably simple.

Skalibs already has all the needed APIs.

I'm thinking of submitting a patch, but don't want to do so if it won't
be accepted.
-- 
Sincerely,
Demi Marie Obenour (she/her/hers)


Received on Mon Apr 20 2026 - 23:55:40 CEST

This archive was generated by hypermail 2.4.0 : Mon Apr 20 2026 - 23:56:30 CEST