Ok what's a sane way to tell if a socket file or maybe a pid file is stale, dangling after a failed cleanup? Ctx: files not on tmpfs, process unprivileged, file perms used for access control (so no abstract namespace I guess?)... #unix #linux #posix
to a socket file you can try connecting; pid files aren't sane; see https://skarnet.org/software/s6/overview.html
QOTO: Question Others to Teach Ourselves An inclusive, Academic Freedom, instance All cultures welcome. Hate speech and harassment strictly forbidden.