Bug#391390: [Pbuilder-maint] Bug#391390: fails to umount /proc if /proc is not mounted

2006-10-29 Thread Loïc Minier
On Sun, Oct 29, 2006, martin f krafft wrote: First, I would use a case statement instead of echo | grep. Right. Second, how about: local UMOUNT_OUTPUT if UMOUNT_OUTPUT=$(LC_ALL=C umount $BUILDPLACE/$1); then # it worked else # it did not fi Ah, thanks! For some reason, this

Bug#391390: [Pbuilder-maint] Bug#391390: fails to umount /proc if /proc is not mounted

2006-10-09 Thread martin f krafft
also sprach Junichi Uekawa [EMAIL PROTECTED] [2006.10.09.0702 +0200]: diamond:~ PID=14692 #[130,303] diamond:~ grep -q pbuilder/build/$PID/proc /proc/mounts echo /proc is mounted under pbuilder chroot $PID

Bug#391390: [Pbuilder-maint] Bug#391390: fails to umount /proc if /proc is not mounted

2006-10-08 Thread Junichi Uekawa
Hi, I don't think pbuilder should really care about user errors. Shooting your foot, that's fine. You can even remount /proc to recover from this state. How does umounting /proc mean shooting myself in the foot? How is it an error? The check wasn't added for no reason. It is

Bug#391390: [Pbuilder-maint] Bug#391390: fails to umount /proc if /proc is not mounted

2006-10-08 Thread martin f krafft
also sprach Junichi Uekawa [EMAIL PROTECTED] [2006.10.08.1204 +0200]: It is difficult to distinguish between not being able to umount /proc, and /proc not being mounted in the first place, and the bet is done on the safe side of things, since after all those checks have passed, we're going to

Bug#391390: [Pbuilder-maint] Bug#391390: fails to umount /proc if /proc is not mounted

2006-10-08 Thread Junichi Uekawa
Hi, It is difficult to distinguish between not being able to umount /proc, and /proc not being mounted in the first place, and the bet is done on the safe side of things, since after all those checks have passed, we're going to 'rm -rf' the whole tree, and it is possible for a mounted

Bug#391390: [Pbuilder-maint] Bug#391390: fails to umount /proc if /proc is not mounted

2006-10-06 Thread martin f krafft
also sprach Junichi Uekawa [EMAIL PROTECTED] [2006.10.06.1506 +0200]: I don't think pbuilder should really care about user errors. Shooting your foot, that's fine. You can even remount /proc to recover from this state. How does umounting /proc mean shooting myself in the foot? How is it an

Bug#391390: [Pbuilder-maint] Bug#391390: fails to umount /proc if /proc is not mounted

2006-10-06 Thread Junichi Uekawa
Hi, For testing purposes, I had previously umounted /proc already. I don't think pbuilder should try to umount it if it's not mounted. Hmm... I don't think pbuilder should really care about user errors. Shooting your foot, that's fine. You can even remount /proc to recover from this state.