[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#384063: mkinitramfs generates incomplete mdadm.conf



Package: initramfs-tools
Version: 0.75

Hi,

the backwards-compatible support for mdadm in 'mkinitramfs' creates an
incomplete '/conf/mdadm.conf' file for an initrd.

It uses 'mdadm --examin --scan', which in newer versions of mdadm (eg
2.4.1-5bpo1, ie from backports.org, but I strongly assume that this
as very similar for the official testing version) won't create any
'DEV' lines, therefore an initrd later won't find the RAID disks
when trying to scan for them.

Adding 'DEV partitions' to the 'mdadm.conf' file fixes this, so pre-
pending this in the 'mdadm.conf' generation in 'mkinitramfs' would help.

Best regards,
Alex



Reply to: