Bug#1138547: debian-policy: Add openRC section to starting system services

Matthias Geiger <[email protected]> Thu, 04 Jun 2026 17:48:32 +0200
Newsgroups gmane.linux.debian.devel.policy
Message-ID <tg46mw.3k4upm5qtgcyv__13292.5543280848$1780589374$gmane$org@riseup.net>
This is a MIME formatted message with attachments. Use a MIME-compliant client to view it properly.
--bzz_bzz__bzz__wrirnrhg3l0ntg46mwhohx0vgsxv0r
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=utf-8; format=flowed

On Thu, 04 Jun 2026 17:23, Matthias Geiger <[email protected]> wrote:
>On Thu, 04 Jun 2026 16:40, Sean Whitton <[email protected]> wrote:
>>Matthias Geiger [03/Jun  9:19pm +02] wrote:
>>> ========================================================================
>>> diff --git a/policy/ch-opersys.rst b/policy/ch-opersys.rst
>>> index 3928723..45ad4d0 100644
>>> - --- a/policy/ch-opersys.rst
>>> +++ b/policy/ch-opersys.rst
>>> @@ -362,7 +362,13 @@ The ``sysv-rc`` runlevel system for ``sysvinit`` uses symlinks in
>>> ``/etc/rcn.d`` to decide which scripts to run and in which order at boot
>>> time and when the init state (or "runlevel") is changed.  See the
>>> ``README.runlevels`` file shipped with ``sysv-rc`` for implementation
>>> details.
>>>
>>> [-Other alternatives might exist.-]{+``openrc`` can determine its own
>>> order of services to run and when to change+}
>>> {+the init state. Since openrc uses ``/usr/libexec/rc/ìnit.d`` as
>>> service directory+}
>>> {+but has its own service syntax divergent to ``sysvinit``, the following sections+}
>>> {+about init scripts do not apply when using ``openrc-native``. Native openrc services+}
>>> {+must be installed to ``/usr/libexec/rc/init.d``.+}
>>>
>>> The sections below describe how to write those scripts and configure those
>>> symlinks.
>>>
>>> =========================================================================
>>
>>Will the "must" requirement here make any packages in the archive buggy?
>
>If we decide on this change, then none. openrc-native is a bin-NEW 
>package that then would need to comply with this. Plus any future 
>packages shipping such services.
>
One other option would be /usr/lib/rc/init.d. Mark, what do you think?

best,

werdahias
--bzz_bzz__bzz__wrirnrhg3l0ntg46mwhohx0vgsxv0r
Content-Type: application/pgp-signature; charset="utf-8"; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQQUWTv/Sl6/b+DpcW7svtu2B7myvgUCaiGekgAKCRDsvtu2B7my
vrBPAQC+AvjW0Kf3g6zCryVT3/dOuH8VzAXc3nhjmGnwLeUxrgEAvCuRCdiqMvsD
jS06CFjxxU8EA74B538Y4lvDymrBNwI=
=Xeg/
-----END PGP SIGNATURE-----
--bzz_bzz__bzz__wrirnrhg3l0ntg46mwhohx0vgsxv0r--