Achille Fouilleul
Achille Fouilleul
I am running a custom system where the root filesystem is backed by a fuse daemon (https://systemd.io/ROOT_STORAGE_DAEMONS/). During shutdown or suspend the system freezes consistently. To diagnose the issue I...
> but why was that fuse daemon suspended? `kill(-1, SIGSTOP)` in `broadcast_signal` does it, right before calling `killall`.
`kill(-1, ...)` is nice because it is atomic, I think; I'm concerned using killall to suspend the processes could miss some processes, if some process forks while killall enumerates `/proc`.
> open an fd to /proc/ first, and only use that for traversal. That way we should not need to open / again. I had the same idea a couple...
I have been working on this on and off (more off than on TBF). I realized along the way that a path other than `/proc/*` was accessed (`/etc/initrd-release`). I like...