Your message dated Sun, 07 Apr 2024 05:34:04 +0000
with message-id <[email protected]>
and subject line Bug#1039102: fixed in debian-policy 4.7.0.0
has caused the Debian Bug report #1039102,
regarding debian-policy: make systemd units mandatory for packages shipping
system services
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1039102: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1039102
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debian-policy
X-Debbugs-Cc: [email protected]
systemd upstream will drop support for the transitional sysv generator
in the near future. The transition is long finished, it's been at least
a decade, and it's time for the tail of packages still shipping only
init scripts but not units to be updated.
Tentatively this should happen within Trixie's development cycle. Of
course it's free software and generators are not that difficult to
maintain, so if someone wanted to lift the sysv generator out of the
systemd repository and adapt it to be a standalone binary there's
nothing stopping them. But I wouldn't want the systemd package to
depend on such a backward compat tool, so packages needing this
hyptothetical package should depend explicitly on it. This is just
mentioned for completeness, it's been at least a decade and writing a
unit file is beyond trivial so there shouldn't be any issue adding the
few remaining ones.
Once the policy is updated I plan to ask Lintian to bump the severity
of the existing check:
https://salsa.debian.org/lintian/lintian/-/merge_requests/407
Patch attached and pushed to
https://salsa.debian.org/bluca/policy/-/commits/mandatory_units?ref_type=heads
--
Kind regards,
Luca Boccassi
From ea524f52d256e37b4e4747d7e6ac4f316c4805a8 Mon Sep 17 00:00:00 2001
From: Luca Boccassi <[email protected]>
Date: Sun, 25 Jun 2023 18:42:29 +0100
Subject: [PATCH] system services: make systemd units mandatory
systemd upstream will drop support for the transitional sysv generator
in the near future. The transition is long finished, and it's time for
the tail of packages still shipping only init scripts but not units to
be updated.
---
policy/ch-opersys.rst | 20 ++++++++------------
1 file changed, 8 insertions(+), 12 deletions(-)
diff --git a/policy/ch-opersys.rst b/policy/ch-opersys.rst
index 207b3c0..3134783 100644
--- a/policy/ch-opersys.rst
+++ b/policy/ch-opersys.rst
@@ -328,16 +328,12 @@ Starting system services
Introduction
~~~~~~~~~~~~
-Packages that include system services should include ``systemd`` service
+Packages that include system services must include ``systemd`` service
units to start or stop those services. See :manpage:`systemd.service(5)`
for details on the syntax of a service unit file. In the common case that
a package includes a single system service, the service unit should have
the same name as the package plus the ``.service`` extension.
-If the package does not include a service unit (if, for example, no one
-has yet written one), including an init script, as described below, to
-start the service is encouraged.
-
Packages including a service unit may optionally include an init script to
support other init systems. In this case, the init script should have the
same name as the ``systemd`` service unit so that ``systemd`` will ignore
@@ -345,13 +341,13 @@ it and use the service unit instead. Packages may also support other init
systems by including configuration in the native format of those init
systems.
-If a service unit is not present, ``systemd`` uses dependency information
-contained within the init scripts and symlinks in ``/etc/rcn.d`` to decide
-which scripts to run and in which order. The ``sysv-rc`` runlevel system
-for ``sysvinit`` uses the same 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.
+``systemd`` uses dependency and ordering information contained within the
+enabled unit files to decide which services to run and in which order.
+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.
The sections below describe how to write those scripts and configure those
symlinks.
--
2.39.2
signature.asc
Description: This is a digitally signed message part
--- End Message ---
--- Begin Message ---
Source: debian-policy
Source-Version: 4.7.0.0
Done: Sean Whitton <[email protected]>
We believe that the bug you reported is fixed in the latest version of
debian-policy, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sean Whitton <[email protected]> (supplier of updated debian-policy
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 07 Apr 2024 13:08:55 +0800
Source: debian-policy
Architecture: source
Version: 4.7.0.0
Distribution: unstable
Urgency: medium
Maintainer: Debian Policy Editors <[email protected]>
Changed-By: Sean Whitton <[email protected]>
Closes: 963524 968226 970234 994008 1029211 1035733 1039102 1068192
Changes:
debian-policy (4.7.0.0) unstable; urgency=medium
.
[ Sean Whitton ]
* Policy: Prefer native overriding mechanisms to diversions & alternatives
Wording: Luca Boccassi <[email protected]>
Seconded: Sean Whitton <[email protected]>
Seconded: Russ Allbery <[email protected]>
Seconded: Holger Levsen <[email protected]>
Closes: #1035733
* Policy: Improve alternative build dependency discussion
Wording: Russ Allbery <[email protected]>
Seconded: Wouter Verhelst <[email protected]>
Seconded: Sean Whitton <[email protected]>
Closes: #968226
* Policy: No network access for required targets for contrib & non-free
Wording: Aurelien Jarno <[email protected]>
Seconded: Sam Hartman <[email protected]>
Seconded: Tobias Frost <[email protected]>
Seconded: Holger Levsen <[email protected]>
Closes: #1068192
.
[ Russ Allbery ]
* Policy: Add mention of the new non-free-firmware archive area
Wording: Gunnar Wolf <[email protected]>
Seconded: Holger Levsen <[email protected]>
Seconded: Russ Allbery <[email protected]>
Closes: #1029211
* Policy: Source packages in main may build binary packages in contrib
Wording: Simon McVittie <[email protected]>
Seconded: Holger Levsen <[email protected]>
Seconded: Russ Allbery <[email protected]>
Closes: #994008
* Policy: Allow hard links in source packages
Wording: Russ Allbery <[email protected]>
Seconded: Helmut Grohne <[email protected]>
Seconded: Guillem Jover <[email protected]>
Closes: #970234
* Policy: Binary and Description fields may be absent in .changes
Wording: Russ Allbery <[email protected]>
Seconded: Sam Hartman <[email protected]>
Seconded: Guillem Jover <[email protected]>
Closes: #963524
* Policy: systemd units are required to start and stop system services
Wording: Luca Boccassi <[email protected]>
Wording: Russ Allbery <[email protected]>
Seconded: Luca Boccassi <[email protected]>
Seconded: Sam Hartman <[email protected]>
Closes: #1039102
Checksums-Sha1:
cceb560f2e75c99e38aade67c89ee61e09e7a3e5 2136 debian-policy_4.7.0.0.dsc
fb76348525ee83aa8b75eee50d1d0d166997ca5d 560352 debian-policy_4.7.0.0.tar.xz
Checksums-Sha256:
57cf3ee833405240396b40cc9ee65568c09cb9bd421c8cfdec1ff03cba287319 2136
debian-policy_4.7.0.0.dsc
cc53cfec06db76e6a26dd61b6f4f8015e95637fc67d5715c54487507ee113a40 560352
debian-policy_4.7.0.0.tar.xz
Files:
ab2b8b895ec9092a064a72cf0665c47a 2136 doc optional debian-policy_4.7.0.0.dsc
2f658f4169866f3db703cf78e96dcb9a 560352 doc optional
debian-policy_4.7.0.0.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAmYSLcMACgkQaVt65L8G
YkCyJg//cXSHspKUQgje2QUDvo+FMIEWjg8sYUUHhdnq6xLHlc8fxcID1V1kH7F0
bGSzmfJyBTbALWDTmrr9O5dIkSy7Fe4D+qY95r0wuWJ0F2GNyL4sYyBUMwdtevgj
ZoDoO69R/Z9ae54ouFMNg7q8gioWM2HZyvz7Fi8i2fTOfjl1RkAaVgP5IzOSL7OY
AdOPuLRA4OxzwmdoIyuDfzE3ypXA+EThMIRzmsQfeHS2+9WTaqpXCF9DxoSRhrl2
F3K+KATvfd78aWlN3aF3dFbDck4oz2wx+3CH0Q0kFZhlQPs/oXiiRA5Sz1d3ILfK
fX8k0FAATlPWxEEXTsrYPjPQ0Pp6sJKr10K3iZr4RHBOdH9y+XTNavEw+5M5V2Ga
x0ht/HeZwgrGyxJeBJ+SOgZ1WE02UbJVBwPtaR2IVlLJNJH7p5Sjo3JXfwUKcVFG
o+8VcACg+wilO40lynWSVm7/QBFt9BzjOTXiVO7FJsCrYv0sJQFZwlQOdI5oAwEs
FQvxBJKnuYrEjU5q6wsImZSbose+Gz5ptapjb1AE506GZG0CmjUNRwlAGHOGY16L
8SIBByrOGNh867wy7prMBoifwfjP6OMKQpw8DcKKmMGOpoc8ob5nw+ERf2FSCxym
A8qgNRwVoRN4WMvcPcTNcCzhNnITqpNIFcy2ME0o9P1fI6ujgzQ=
=KSE/
-----END PGP SIGNATURE-----
pgpwUeemtxqmi.pgp
Description: PGP signature
--- End Message ---