Running "sv <some options>" only reports an error because it cannot chdir the original service directory /service: fail: foo: unable to change to service directory: file does not exist Maybe sv needs to be patched to use /var/service and not /service for gentoo. Here is what it does: lisa ~ # strace -trace=file -Ff sv restart foo [...] 0.000290 chdir("/service/") = -1 ENOENT (No such file or directory) 0.000257 write(1, "fail: foo: unable to change to"..., 72fail: foo: unable to change to service directory: file does not exist ) = 72 0.000414 fchdir(3) = 0 0.000361 exit_group(1) = ? lisa ~ #
runit has been a proxy-maintained package. make whatever changes you want.
(In reply to comment #1) > runit has been a proxy-maintained package. make whatever changes you want. I added 2.2.1-r1 to fix this bug as well as another one (missing /sbin/svrundir-start)