Package: mdadm
Version: 2.5.2-1
Severity: important

If rootfs is on LVM, which in turn is on RAID, the mdadm hook
determines that RAID is not needed:

  ++ df /
  ++ sed -ne 's,^\(/dev/[^[:space:]]\+\).*,\1,p'
  + ROOTRAIDDEV=/dev/mapper/r1vg-root
  + '[' -n /dev/mapper/r1vg-root ']'
  + touch /tmp/mkinitramfs_yc5768/conf/mdadm.conf
  + echo ROOTRAIDDEV=/dev/mapper/r1vg-root
  ++ mdadm --detail /dev/mapper/r1vg-root
  ++ sed -ne 's,[[:space:]]*UUID : ,,p'
  + ROOTUUID=
  + case "$ROOTUUID" in
  + logger -sp syslog.notice -- 'I: mdadm: rootfs not on RAID, not including 
RAID stuff

This means we have to get rid of the optimisation in the initramfs
and install all kernel modules, as before, and then tell mdadm to
assemble *all* arrays from the initramfs. This sucks because it
basically makes /etc/mdadm/mdadm.conf obsolete, unless the user will
start and stop arrays on the running system.

An alternative would be to move root device detection to the
postinst and have debconf figure out which devices to start.

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`.     martin f. krafft <[EMAIL PROTECTED]>
: :'  :    proud Debian developer and author: http://debiansystem.info
`. `'`
  `-  Debian - when you have better things to do than fixing a system

Attachment: signature.asc
Description: Digital signature (GPG/PGP)

Reply via email to