Alex Efros
Alex Efros
If I get right the point is to limit lua workspace by `lua/` subdir of a large repo. In this case it makes sense to take longest value of `util.root_pattern...
> Third, it would be nice if we could have default jobs for common paths used as system service directories on systems that are using runit as their init system....
> I wasn’t aware of any systems set up that way. It's actually a standard setup. Quote from [runsvchdir(8)](https://smarden.org/runit/runsvchdir.8): > Normally /service is a symlink to _current_
> There are merge conflicts that need to be resolved. Sure, but later, I don't have spare time at the moment. Also I didn't forget about test - will add...
> CAP_DAC_READ_SEARCH - it may work I've just realized it won't work. :disappointed: The problem is: check "is service supervisor running" (which is critical, because without running supervisor data in...
Merge conflict is resolved.
> If you think you find a bug - open an issue or make a PR to https://github.com/prometheus-community/go-runit. https://github.com/prometheus/node_exporter/issues/3070
> Works without any problems. The problem is it will report outdated (possibly incorrect) status if `runsv` is not running. If you wanna see this behaviour with your own eyes...
> Am I missing something? Yep. A permission to write to a file owned by root.
Or you mean `CAP_DAC_READ_SEARCH` is enough to open a FIFO file owned by root on **write**?