Bug#1110746: orphan-sysvinit-scripts: mdadm scripts not installed even if package mdadm is installed
Håkan Johansson
f96hajo at chalmers.se
Sun Aug 10 19:03:23 BST 2025
Package: orphan-sysvinit-scripts
Version: 0.21
Severity: critical
Justification: breaks the whole system
X-Debbugs-Cc: f96hajo at chalmers.se
Dear Maintainer,
I am using mdadm-based raid mirrors for my / file systems on some servers.
I am not using systemd, but this package (orphan-sysvinit-scripts) was already
installed. After an upgrade to trixie on one such system, it does not boot.
I have currently no access to its console...
On a second similar system (this) I had also performed the update but not yet
rebooted...
On investigation, the file /etc/init.d/mdadm is missing.
As far as I can see, this should be installed by
/usr/lib/orphan-sysvinit-scripts/update_init_d.sh
if the file
/lib/systemd/system/mdadm.service
exists. However, that file does not exist. It looks like it would have come
from the mdadm package in bookworm [1], but no longer in trixie [2].
I suppose this breaks the heuristic in this package for when to install the
mdadm init scripts.
If I cheat a bit and do 'touch /lib/systemd/system/mdadm.service'
followed by running '/usr/lib/orphan-sysvinit-scripts/update_init_d.sh'
then /etc/init.d/mdadm is at least created.
And similary for mdadm-waitidle.service to get mdadm-waitidle.
I have not tested yet if this is sufficient to successfully reboot the system.
(Will only reboot when being physically at the machines. :) )
[1] https://packages.debian.org/bookworm/amd64/mdadm/filelist
[2] https://packages.debian.org/trixie/amd64/mdadm/filelist
-- System Information:
Debian Release: 13.0
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-37-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled
Versions of packages orphan-sysvinit-scripts depends on:
ii ucf 3.0052
orphan-sysvinit-scripts recommends no packages.
orphan-sysvinit-scripts suggests no packages.
-- no debconf information
More information about the Debian-init-diversity
mailing list