Hello,

João Pedro Malhado, le dim. 15 déc. 2024 09:55:50 +0000, a ecrit:
> A bit of context: sv is trying to open a fifo (aka named pipe) which is read 
> by
> a different program runsv. The fifo is called ok and is placed in this case in
> 
> /run/runit/supervise/cron/ok
> 
> but /etc/sv/cron/supervise is a symbolic link to /run/runit/supervise/cron,

>   43<--65(pid773)->dir_lookup ("supervise/ok" 10 0) = 0 3 
> "/run/runit/supervise/cron/ok"  (null)

It's trying to open /etc/sv/cron/supervise/ok (from /etc/sv/cron),
and gets redirected to absolute path (that's the '/' magic retry, see
documentation of FS_RETRY_MAGICAL) /run/runit/supervise/cron/ok.

>   27<--44(pid773)->dir_lookup ("run/runit/supervise/cron/ok" 10 0) = 0 1 
> "runit/supervise/cron/ok"    64<--66(pid773)

It then tries to open it, but gets redirected to relative path
runit/supervise/cron/ok (I guess that on your machine /run is a
tmpfs mount?)

>   64<--66(pid773)->dir_lookup ("runit/supervise/cron/ok" 10 0) = 0x40000006 
> (No such device or address) 

It tries to open it, but apparently no process is actually listening on
it.

Maybe try without /run being a tmpfs: in
/usr/lib/init/mount-functions.sh in mount_run put an exit 0 just after
read_fstab.

Samuel

Reply via email to