lh_builds breaks without error message
I've now found the reason for this problem.
The script "/usr/bin/lh_chroot_devpts" unmounts "chroot/dev/pts" only if
the file or directory "chroot/dev/pts/0" is existing.
On my computer there isn't any "chroot/dev/pts/0" file/directory when
lh_build runs. So "chroot/dev/pts" is never unmounted and when lh_build
tries to mount "chroot/dev/pts" again (after the output: "P: Begin
copying chroot P: This may take a while"), the mount-command breaks.
I know, the hack I recommended 2 days ago in a mail to Joe Ruddy doesn't
really solve the problem. (Especially because "grep" finds a
"/dev/pts"-string not only if "devpts-live" is already mounted, but also
if "/dev/pts" is mounted on the host-system by default. Therefore my
hack causes that "devpts-live" will NEVER be mounted.)
I think it's better to change the unmounting-routine at line 80 in
if [ -e chroot/dev/pts/0 ]
if [ -n "`mount | grep -E 'devpts-live.*chroot/dev/pts'`" ]
Daniel Baumann schrieb:
> Sebastian Holler wrote:
>> But lh_build breaks after 20 minutes without an error message. The last
>> messages are:
> I'm looking to reproduce your failure later, just that for now:
>> The wiki says, for Debian Etch I have to use the
>> "etch-backports-version" of cdebootstrap. I've added the line
>> http://www.backports.org/debian etch-backports main
>> in sources.list, but there is no cdebootstrap inside this repository.
>> So I used the "original etch cdebootstrap 0.3.15".
> the wiki is just wrong (it was incorrectly updated from sarge->etch),
> it's fixed now.
> you need live-helper, plus cdebootstrap or deboostrap from etch or
> newer. in case you would use sarge, you would need a
> cdebootstrap/debootstrap backport.
>> Maybe this is the reason for the above-quoted errors?!
> i don't think so.