Bug#389821: live-package: make-live fails when mdadm is included

Srdjan srdjan at catalyst.net.nz
Thu Sep 28 00:22:49 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thanks Daniel.

So when I boot the live system I just go apt-get install mdadm? Or is it better
to do make-live --include-image mdadmin.deb and do dpkg -i?

Cheers,
Srdjan

Daniel Baumann wrote:
> reassign 389821 mdadm
> thanks
> 
> srdjan wrote:
>  > LIVE_PACKAGES="mdadm lvm2"
>> Setting up mdadm (2.5.3.git200608202239-6) ...
>> dpkg: error processing mdadm (--configure):
>>  subprocess post-installation script returned error exit status 1
>> Errors were encountered while processing:
>>  mdadm
>> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> mdadm is know to be broken when installing in a chroot without having
> /proc mounted, maintainer should check for /proc in the maintainer
> scripts (and don't do anything if /proc isn't there, hence reassigning
> to mdadm).
> 
> temporary workaround: install mdadm when you've booted the live system,
> then it works.
> 
> and yes, mounting /proc in the chroot is not a solution, because:
> 
>   * there are cases where it is not possible to unmount a mounted /proc
>     in a chroot if certain (unkillable) processes access it. since only
>     rebooting the whole system helps, we do not mount /proc in the
>     chroot.
> 
>   * mdadm maintainer scripts do read out /proc to scan for raid devices.
>     if your host system has a raid, you end up with a preconfigured
>     mdadm in your live-system, which is not (or not always
>     intentionally) what you want.
> 
> Regards,
> Daniel
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFGxXYZtcHxCitRpgRAtvNAJ45/zfiQMYZZtbJeL1ot1FD2MLRJACfbpvk
2C7vbtMm/P2l97lgbr+bKCE=
=YVF6
-----END PGP SIGNATURE-----




More information about the pkg-mdadm-devel mailing list