Bug#749062: mdadm: add "containers" to emergency config file

2023-02-25 Thread Daniel Baumann
close 749062 4.2-1
thanks

Hi,

current mdadm doesn't re-create mdadm.conf anymore, so this issue
doesn't exist anymore.

Regards,
Daniel



Bug#749062: mdadm: add "containers" to emergency config file

2014-05-23 Thread Michael Tokarev
23.05.2014 19:03, Miquel van Smoorenburg wrote:
> If no mdadm.conf file is found in initramfs, the local-top mdadm script will 
> create one on the fly like this:
> 
>   echo DEVICE partitions > $CONFIG
>   $MDADM --examine --scan >> $CONFIG
> 
> However, this config will fail to assemble Intel RAID (imsm) arrays, since 
> those are "containers" and that needs to be explicitly added to the DEVICE 
> line.
> 
> Also, from the manpage:
> 
>   If  no DEVICE line is present, then "DEVICE partitions contain-
>   ers" is assumed.
> 
> So please add "containers" to the DEVICE line or just leave out the DEVICE 
> line completely.

I think we should just omit this line entirely and rely on mdadm defaults.
Maybe add it as a comment.

Thanks,

/mjt


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#749062: mdadm: add "containers" to emergency config file

2014-05-23 Thread Miquel van Smoorenburg

Package: mdadm
Version: 3.3-2
Severity: normal

If no mdadm.conf file is found in initramfs, the local-top mdadm script 
will create one on the fly like this:


  echo DEVICE partitions > $CONFIG
  $MDADM --examine --scan >> $CONFIG

However, this config will fail to assemble Intel RAID (imsm) arrays, 
since those are "containers" and that needs to be explicitly added to 
the DEVICE line.


Also, from the manpage:

  If  no DEVICE line is present, then "DEVICE partitions 
contain-

  ers" is assumed.

So please add "containers" to the DEVICE line or just leave out the 
DEVICE line completely.


Thanks

Mike.


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org