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

Bug#459779: live-helper: bug in lh_chroot_devpts



I got a hint from Justin Pryzby to use /bin/mountpoint instead,
so this should work:

...
if mountpoint chroot/dev/pts -q
then
   ${LH_ROOT_COMMAND} umount chroot/dev/pts
fi
...




Jens Thiele schrieb:
> Package: live-helper
> Version: 1.0~a37-2
> Severity: normal
> 
> the test in lh_chroot_devpts:80 fails for me
> 
>     77			# Unmounting /dev/pts
>     78			if [ "${LH_USE_FAKEROOT}" != "enabled" ]
>     79			then
>     80				if [ -e chroot/dev/pts/0 ]
>     81				then
>     82					${LH_ROOT_COMMAND} umount chroot/dev/pts
>     83				fi
>     84			fi
> 
> I suggest either improving the test wether dev/pts is mounted or simply
> remove the test?
> 
> -- System Information:
> Debian Release: lenny/sid
>   APT prefers testing
>   APT policy: (500, 'testing'), (500, 'stable')
> Architecture: i386 (i686)
> 
> Kernel: Linux 2.6.21-2-mcore2-imq-raid (SMP w/2 CPU cores)
> Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
> 
> Versions of packages live-helper depends on:
> ii  debootstrap                   1.0.6      Bootstrap a basic Debian system
> 
> live-helper recommends no packages.
> 
> -- no debconf information
> 
> 
> 
> 
> _______________________________________________
> 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: