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

Michael Prokop mika at debian.org
Sat Aug 7 00:13:51 UTC 2010


severity 589836 serious
thanks

* Michael Prokop <mika at debian.org> [Fri Jul 23, 2010 at 01:25:10PM +0200]:
> * 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.

While preparing the FAI version for Squeeze we noticed that
this bug is reproducable and shouldn't reach Squeeze.
I'm raising the severity therefore, Martin - if you need any help
please let me know, I'm willing to help out.

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/20100807/fb7f2a10/attachment.pgp>


More information about the pkg-mdadm-devel mailing list