root svwait on unprivileged supervise

From: Carlos Eduardo <carana2099_at_gmail.com>
Date: Fri, 3 May 2024 10:07:41 -0300

I have a setup where sometimes a root process will s6-svwait on a
s6-supervise that is running as another UID.

Unless I s6-applyuidgid -u $svscan_uid s6-svwait ..., the svwait never
returns and the pipe it creates just stands there in the event/ folder
until I `sudo rm` it.

If it helps, the stale pipes are mode 700 and root:$svscan_gid are the
owners. Stracing the supervise says opening the ftrig1 pipe fails with
EACCES.
Received on Fri May 03 2024 - 15:07:41 CEST

This archive was generated by hypermail 2.4.0 : Fri May 03 2024 - 15:08:26 CEST