Bug#589836: mdadm: breaks initramfs on fresh (chroot) installation

Michael Prokop mika at debian.org
Fri Jul 23 11:25:10 UTC 2010


* Michal Suchanek <michal.suchanek at ruk.cuni.cz> [Don Jul 22, 2010 at 03:05:27 +0200]:

> When I build a Squeeze live CD using live-helper the build fails when
> mdadm package is included on the CD because no initramfs is generated.

[...]
> Setting up initramfs-tools (0.97.2) ...
> update-initramfs: deferring update (trigger activated)
> Setting up linux-image-2.6.32-5-686 (2.6.32-15) ...
> Running depmod.
> Running update-initramfs.
> update-initramfs: Generating /boot/initrd.img-2.6.32-5-686
> sed: can't read /etc/mdadm/mdadm.conf: No such file or directory
> E: /usr/share/initramfs-tools/hooks/mdadm failed with return 2.
> Examining /etc/kernel/postinst.d.
> run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.32-5-686 /boot/vmlinuz-2.6.32-5-686
[...]

Additional information for martin: initramfs-tools >= 0.97 execute
hook scripts under 'set -e' so they have the option to cancel the
initramfs build process if they notice a severe problem.

HTH && regards,
-mika-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20100723/875aa1d7/attachment.pgp>


More information about the pkg-mdadm-devel mailing list