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

Michal Suchanek michal.suchanek at ruk.cuni.cz
Thu Jul 22 13:05:27 UTC 2010


Excerpts from martin f krafft's message of Wed Jul 21 16:21:11 +0200 2010:
> also sprach Michal Suchanek <michal.suchanek at ruk.cuni.cz> [2010.07.21.1608 +0200]:
> > I tried building s Squeeze live CD and the initramfs for the kernel is
> > not created resulting in the build failing.
> > 
> > The only relevant error seems to be from mdadm.
> 
> This is not an acceptable bug report. Please provide only relevant
> information, and what you are trying to do.
> 

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.

This is an excerpt from the log of apt configuring packages in the
chroot which is then used for the CD contents.

When mdadm is not included the image builds flawlessly.

You can run the build yourself with the attached configuration.

Install live-helper from sid, as root create an empty directory, unpack
the tarball there and run "lh build".

Thanks

Michal

Processing triggers for man-db ...
Setting up libapt-pkg-perl (0.1.24) ...
Setting up libuuid-perl (0.02-4) ...
Setting up linux-base (2.6.32-15) ...
Setting up libklibc (1.5.18-1) ...
Setting up klibc-utils (1.5.18-1) ...
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
Setting up libc6-i686 (2.11.2-2) ...
Setting up exim4-config (4.72-1) ...
Adding system-user for exim (v4)
Setting up exim4-base (4.72-1) ...
Setting up libgpg-error0 (1.6-1) ...
Setting up libgcrypt11 (1.4.5-2) ...
Setting up libgnutls26 (2.8.6-1) ...
Setting up libpcre3 (7.8-3) ...
Setting up exim4-daemon-light (4.72-1) ...
All runlevel operations denied by policy
invoke-rc.d: policy-rc.d denied execution of start.
Setting up libmagic1 (5.04-2) ...
Setting up file (5.04-2) ...
Setting up less (436-1) ...
Setting up libdb4.7 (4.7.25-9) ...
Setting up libkeyutils1 (1.4-1) ...
Setting up libkrb5support0 (1.8.1+dfsg-5) ...
Setting up libk5crypto3 (1.8.1+dfsg-5) ...
Setting up libkrb5-3 (1.8.1+dfsg-5) ...
Setting up libgssapi-krb5-2 (1.8.1+dfsg-5) ...
Setting up locales (2.11.2-2) ...
Generating locales (this might take a while)...
Generation complete.
Setting up busybox (1:1.15.3-1) ...
Setting up libudev0 (158-1) ...
Setting up firmware-linux-free (2.6.32-15) ...
Setting up heirloom-mailx (12.4-2) ...
update-alternatives: using /usr/bin/heirloom-mailx to provide /usr/bin/mailx (mailx) in auto mode.
Setting up keyboard-configuration (1.55) ...
Setting up linux-image-2.6-686 (2.6.32+27) ...
Setting up live-boot-initramfs-tools (2.0~a15+20100717.152000) ...
update-initramfs: deferring update (trigger activated)
Setting up live-config-sysvinit (2.0~a15+20100717.210501) ...
Setting up live-config (2.0~a15+20100717.210501) ...
Setting up make (3.81-8) ...
Setting up mdadm (3.0.3-2) ...
W: mdadm: failed to load MD subsystem.
Generating array device nodes... /var/lib/dpkg/info/mdadm.postinst: 158: /dev/MAKEDEV: not found
failed.
Generating mdadm.conf... done (failed to scan arrays; /proc probably not mounted).
update-initramfs: deferring update (trigger activated)
All runlevel operations denied by policy
invoke-rc.d: policy-rc.d denied execution of start.
All runlevel operations denied by policy
invoke-rc.d: policy-rc.d denied execution of start.
Setting up psmisc (22.11-1) ...
Setting up rsync (3.0.7-2) ...
-- 
Michal Suchánek
michal.suchanek at ruk.cuni.cz
tel 224491810 fax 224491594
Univerzita Karlova v Praze
Ústav Výpočetní Techniky
Ovocný trh 3
Praha 1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: auto.tgz
Type: application/x-gtar
Size: 581 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20100722/5254736e/attachment.tgz>


More information about the pkg-mdadm-devel mailing list