[prev in list] [next in list] [prev in thread] [next in thread] 

List:       debian-devel
Subject:    Is an init required to obey policy-rc.d during boot ?
From:       Lorenzo <plorenzo () disroot ! org>
Date:       2020-04-22 12:20:13
Message-ID: 7bbb3954-3c5d-d37f-cca5-f50bbd51c52f () disroot ! org
[Download RAW message or body]

[ please keep me in CC ]

Hello,

In bug #950851 the reporter says that runit is not policy compliant
because during boot it does not check the policy-rc.d hack before
starting sysv services.

However I read policy 9.3.3 as referring to maintainer scripts (
install, upgrade, remove) but I can't find anything about
boot or shutdown. In my mind the severity of that bug ranges from
wishlist ("please implement this new feature") to important (policy-rc.d
is part of an interface that is defined in policy and has a should for
maintainer scripts)

I can think of many ways to fix #950851 but I'm unsure if solutions I'm
thinking about are policy compliant or not, for example:

Is an init required to implement a mechanism like policy-rc.d or it's
optional?

It has to be policy-rc.d or it can be a different (native) one? Maybe
policy.rc-d is mandatory only for
sysv scripts but not for runit services?

It has to be effective only for maintainer script, or it has to cover
every way to start a service?

It has to be effective also during system boot?

Regards,
Lorenzo

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic