Discussion:
Bug#934500: dh-runit: permissions of supervise directory
Add Reply
Dmitry Bogatov
2019-08-11 17:50:02 UTC
Reply
Permalink
Package: dh-runit
Version: 2.8.13.2
Severity: normal

In #924903 permissions of /var/lib/runit/supervise were changed from 755
to 700. As pointed by latest Lintian version, Policy 10.9 recommends
755.

The simpliest fix is revert of #924903. More attractive way is to move
supervise directories into /run.

Opinions? Preferences? Any considerations I miss?
--
Note, that I send and fetch email in batch, once in a few days.
Please, mention in body of your reply when you add or remove recepients.
Lorenz
2019-08-12 08:20:02 UTC
Reply
Permalink
Post by Dmitry Bogatov
The simpliest fix is revert of #924903. More attractive way is to move
supervise directories into /run.
The permission issue is not essential to me, but i prefer to move supervise
directories into /run.
I don't see a strong reason to have persistent supervise directories: the
files inside are mostly (if not all) not recyclable, bug like #919296
proves that pre-create files with the porpose of speeding up the start of a
runsv process doesn't work.
Moreover, if i recall correcly, Debian's runit already need to rely on /run
if it wants to become /etc readonly proof.
Let me know in advance if you are going this way, I will prepare a patch
for update-service too.

Lorenzo

Loading...