Bug#389821: live-package: make-live fails when mdadm is included
martin f krafft
madduck at debian.org
Wed Oct 4 11:30:45 UTC 2006
forcemerge 390756 389821
thanks
> 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).
maintainer does check for /proc and fails gracefully in its absence.
echo -n 'Generating mdadm.conf... ' >&2
if /usr/share/mdadm/mkconf generate $CONFIG 2>/dev/null; then
echo done. >&2
else
echo "failed (/proc probably not mounted)." >&2
rm -f $CONFIG
fi
and in mkconf:
if [ ! -d /proc/$$ ]; then
echo E: /proc not available. Exiting... >&2
exit 2
fi
Anyway, I am moderately certain that the bug is the same as #390756
and has thus been fixed in -7.
> * 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.
Wouldn't a lazy umount help?
--
.''`. martin f. krafft <madduck at debian.org>
: :' : proud Debian developer, author, administrator, and user
`. `'` http://people.debian.org/~madduck - http://debiansystem.info
`- Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature (GPG/PGP)
Url : http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20061004/ca6bde55/attachment.pgp
More information about the pkg-mdadm-devel
mailing list