Bug#1112029: trixie-pu: package orphan-sysvinit-scripts/0.21+deb13u1
Matthew Vernon
matthew at debian.org
Mon Aug 25 11:12:42 BST 2025
Package: release.debian.org
Severity: normal
Tags: trixie
User: release.debian.org at packages.debian.org
Usertags: pu
X-Debbugs-Cc: orphan-sysvinit-scripts at packages.debian.org
Control: affects -1 + src:orphan-sysvinit-scripts
Hi,
I think #1110746 in orphan-sysvinit-scripts warrants an update to
trixie; a change in mdadm means the o-s-s as shipped doesn't actually
install the /etc/init.d/mdadm script; the bugfix is simply to a
maintainer script (what service file triggers the install of
/etc/init.d/mdadm is change to match what mdadm in trixie ships).
[ Reason ]
During the trixie development cycle, mdadm removed its sysvinit
scripts, and they were moved to orphan-sysvinit-scripts. o-s-s
installed the sysvinit script when the mdadm.service unit was
present.
Unfortunately, later in the trixie cycle, mdadm stopped shipping
mdadm.service. This meant that o-s-s would no longer install
/etc/init.d/mdadm on systems where mdadm was installed.
[ Impact ]
sysvinit users with mdadm installed who upgrade from
bookworm find themselves without /etc/init.d/mdadm installed. This
also impacts fresh installs of trixie.
[ Tests ]
A manual check that this fix results in /etc/init.d/mdadm being
installed on trixie.
[ Risks ]
It's a very small change (to what triggers the installation of the
file), the init script itself is unchanged.
The source debdiff is empty (as the change is to the triggers file,
generated from a change in lib/mapping in the source); I attach a
source patch to show that change.
[ Checklist ]
[x] *all* changes are documented in the d/changelog
[x] I reviewed all changes and I approve them
[x] attach debdiff against the package in (old)stable
[x] the issue is verified as fixed in unstable
[ Changes ]
lib/mapping is changed to adjust the triggers that the mdadm and
mdadm-waitidle are interested in (and thus the presence of which files
in /lib/systemd/system cause the installation of these two sysvinit
scripts).
Thanks,
Matthew
-------------- next part --------------
diff --git a/debian/changelog b/debian/changelog
index 849ccb7..19bdb78 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+orphan-sysvinit-scripts (0.21+deb13u1) trixie; urgency=high
+
+ * Make mdadm scripts trigger on mdmonitor.service, mdmon at .service, since
+ mdadm.service got removed (Closes: #1110746)
+
+ -- Matthew Vernon <matthew at debian.org> Mon, 25 Aug 2025 10:48:32 +0100
+
orphan-sysvinit-scripts (0.21) unstable; urgency=medium
* Patch from Peter Boughton to improve output from nftables script
diff --git a/lib/mapping b/lib/mapping
index 1b4e537..11d66e9 100644
--- a/lib/mapping
+++ b/lib/mapping
@@ -10,8 +10,8 @@ dirsrv.service dirsrv
dnscrypt-proxy.service dnscrypt-proxy
firewalld.service firewalld
gpsd.service gpsd
-mdadm-waitidle.service mdadm-waitidle
-mdadm.service mdadm
+mdmon at .service mdadm-waitidle
+mdmonitor.service mdadm
nftables.service nftables
pdns.service pdns
pdns-recursor.service pdns-recursor
More information about the Debian-init-diversity
mailing list