[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

/dev/pts mount problem



Hi !
I had the same problem. As a workaround you can modify the shell script
/usr/bin/lh_chroot_devpts.
I have changed line 61(?) from

${LH_ROOT_COMMAND} mount devpts-live -t devpts chroot/dev/pts

into

if [ "`${LH_ROOT_COMMAND} mount | grep /dev/pts`" == "" ]; then
${LH_ROOT_COMMAND} mount devpts-live -t devpts chroot/dev/pts
fi

The added lines ensure that if /dev/pts is already mounted, the mount
command isn't called again.
I know this is a dirty hack. But it works until an official patch is
released.

Joe Ruddy schrieb:
> Hi,
>  I have downloaded and installed
> live-helper_1.0~a37~20071119.175635_all.deb.  I then ran lh_config followed
> by lh_build.
>
> I eventually get the error below....
>
> .
> .
> .
> .
> .
> P: Begin unmounting /sys
> P: Begin unmounting /proc
> P: Begin unmounting /dev/pts
> P: Begin caching chroot stage
> P: Begin copying chroot
> P: This may take a while
> P: Begin mounting /dev/pts
> Mount: devpts-live already mounted or chroot/dev/pts busy
> Mount: according to mtab, devpts-live is mounted on
> /home/jruddy/live1/chroot/dev/pts
>
>
> I have tried a couple different snapshots and still have the same problem.
>
> Any idea?
>
> Thanks
>
>
> Joe Ruddy
> Director of Technology
> Novapointe LLC
> 909-930-3062 x2738
> jruddy at novapointe.com 
>
> _______________________________________________
> debian-live-devel mailing list
> debian-live-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel
>   




Reply to: