Hello friends and colleagues,

Debian Policy no longer requires that packages which provide a systemd .service
file also provide an initscript. This permits maintainers who so wish to remove
initscripts from their packages. However, initscripts remain used and useful[1],
and uncoordinated removal can have significant effects on users' systems[2].

With the encouragement of the Technical Committee[3] and despite some
unavoidable deficiencies resulting consequent on keeping initscripts without
their intended package[4], orphan-sysvinit-scripts has collected and maintained
some dropped initscripts. However, the process surrounding this has not been
defined in Policy. Indeed, #975075[5] contains a number of suggestions that have
not yet been followed through.

The most recent proposal[6] for updating the Policy with a requirement to use
tmpfiles.d(5) states

 "Init systems other than ``systemd`` should allow providing the same
 functionality as appropriate for each system, for example managing the
 directories from the init script shipped by the package."

This creates an inconsistency whereby non-systemd inits are required to provide
functionality in their initscript, but that initscript is not required to be
present.
  
To avoid breakage of existing systems and facilitate ongoing support for
non-systemd inits, I would like to establish a consensus for

 - stating that initscripts remain useful.

 - requiring a coordinated transition of any initscript a maintainer wishes to
   drop to the orphan-sysvinit-scripts package and providing the relevant
   copyright information.

Best wishes

Mark 

[1] they continue to be used by sysvinit, openrc and runit which are all viable
     non-systemd inits at the time of writing.

[2] https://bugs.debian.org/1038903 is the most recent example of which I am 
aware.

[3]  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=975075#311

[4]  See Bugs/Limitations in 
https://salsa.debian.org/matthew/orphan-sysvinit-scripts/-/blob/master/README.org

[5]  https://bugs.debian.org/975075 

[6]  
https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=945269;filename=0001-Define-service-directories-and-tmpfiles.d-interfaces.patch;msg=160

-- 
Mark Hindley
GPG: 506C 15A4 2B0A F5A0 A854  23EE D28A 45BF 3287 D649

Attachment: signature.asc
Description: PGP signature

Reply via email to