Bug#233798: Patch to check for mount options

2007-10-21 Thread Bastian Kleineidam
Am Freitag, 19. Oktober 2007 15:49:35 schrieb Colin Watson: > I committed the following patch based on your suggestions: Thanks - this bug prevented me from using debootstrap and thus pbuilder for a long time. It's nice to see that fixed. Regards, Bastian signature.asc Description: This is a

Bug#233798: Patch to check for mount options

2007-10-19 Thread Otavio Salvador
Colin Watson <[EMAIL PROTECTED]> writes: > +# Return zero if it is possible to create devices and execute programs in > +# this directory. (Both may be forbidden by mount options, e.g. nodev and > +# noexec respectively.) > +check_sane_mount () { > + case "$ARCH" in > +kfreebsd-*|hurd-*) > +

Bug#233798: Patch to check for mount options

2007-10-19 Thread Colin Watson
On Tue, Jul 31, 2007 at 07:08:04PM +0200, [EMAIL PROTECTED] wrote: > I forgot to attach the patch :/ > +check_mount_options () { > +local mtab=/proc/mounts > +local T=`readlink -f -n -q "$1"` > +while [ -n "$T" ]; do > +if cat $mtab | grep -q " $T "; then > +# found

Bug#233798: Patch to check for mount options

2007-07-31 Thread calvin
Hi, I forgot to attach the patch :/ diff -BurN debootstrap-1.0.1.orig/debootstrap debootstrap-1.0.1/debootstrap --- debootstrap-1.0.1.orig/debootstrap 2007-07-31 18:55:45.595952859 +0200 +++ debootstrap-1.0.1/debootstrap 2007-07-31 19:02:39.113789274 +0200 @@ -262,6 +262,11 @@ fi fi +# Check