Bug#257865: initrd-tools: assembles raid using mdadm with devfs device names even when there's no devfs
Package: initrd-tools
Version: 0.1.71
Severity: critical
Justification: breaks the whole system
For starting a root software RAID in an initrd, mkinitrd creates a
command in /script to assemble the RAID on startup. With raidtools2,
this works fine. But with mdadm the line reads (example)
mdadm -A /devfs/md/0 -R <uid1:uid2:...> <dev1> <dev2> ...
^^^^^^^^^^^
instead of /dev/md0, even when there is no devfs installed. This renders
a system without devfs unbootable, if / is on a raid and the raid
modules are loaded from the initrd.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing'), (20, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.26
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (ignored: LC_ALL set to de_DE.UTF-8)
Versions of packages initrd-tools depends on:
ii coreutils [fileutils] 5.0.91-2 The GNU core utilities
ii cpio 2.5-1.1 GNU cpio -- a program to manage ar
ii cramfsprogs 1.1-5 Tools for CramFs (Compressed ROM F
ii dash 0.4.26-2 The Debian Almquist Shell
ii fileutils 5.0.91-2 The GNU file management utilities
ii util-linux 2.12-3 Miscellaneous system utilities
-- no debconf information
Reply to: