Re: root svwait on unprivileged supervise

2024-05-03 Thread Carlos Eduardo
Can confirm it works. Thanks! While we're at it, may I ask about s6's versioning scheme? I noticed there was an ABI change in skalibs (env_mergen becoming a macro), but the Gentoo package for skalibs is currently set up to only trigger rebuilds of dependant packages if the second number changes

Re: root svwait on unprivileged supervise

2024-05-03 Thread Laurent Bercot
The cause for this is the weird dance we have to do with fifodirs and fifo permissions in order to grant the correct filesystem rights The model was actually correct, it was just a bug, that nobody noticed because it's rare that root has to wait for a notification from user-owned services.

Re: root svwait on unprivileged supervise

2024-05-03 Thread Laurent Bercot
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

root svwait on unprivileged supervise

2024-05-03 Thread Carlos Eduardo
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