Bug#384063: mkinitramfs generates incomplete mdadm.conf
On Mon, Aug 21, 2006 at 06:19:28PM +0200, Alexander Achenbach wrote:
> Package: initramfs-tools
> Version: 0.75
next time your report a bug, use reportbug as it provides usefull
info.
> Hi,
>
> the backwards-compatible support for mdadm in 'mkinitramfs' creates an
> incomplete '/conf/mdadm.conf' file for an initrd.
this file is unused, it was only left per accident.
thanks for the reminder to remove it.
> 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.
looks like mdadm needs a newer backport, as latest has
much better support.
> Adding 'DEV partitions' to the 'mdadm.conf' file fixes this, so pre-
> pending this in the 'mdadm.conf' generation in 'mkinitramfs' would help.
nack, we can't rely on mdadm.conf in sarge.
check #383908 for the solution that will be implemented for sarge
compatibility.
--
maks
Reply to: