Bug#538348: pkgsel/tasksel: can no longer determine free space for desktop task

2009-07-26 Thread Colin Watson
On Sat, Jul 25, 2009 at 02:55:57PM +0200, Frans Pop wrote: On Saturday 25 July 2009, Colin Watson wrote: Mm, yes, that's probable, although without that change it would presumably have been getting garbage data from /etc/mtab anyway. (df doesn't seem to fall back to /proc/mounts.)

Bug#538348: pkgsel/tasksel: can no longer determine free space for desktop task

2009-07-26 Thread Frans Pop
On Sunday 26 July 2009, Colin Watson wrote: On Sat, Jul 25, 2009 at 02:55:57PM +0200, Frans Pop wrote: Won't that have the /target prefix in it for some mounts and thus be unusable inside a chroot? /proc/mounts is sensitive to the root directory of the process reading it. Well, only to a

Bug#538348: pkgsel/tasksel: can no longer determine free space for desktop task

2009-07-25 Thread Colin Watson
On Sat, Jul 25, 2009 at 03:21:00AM +0200, Frans Pop wrote: tasksel wants to do in the target chroot: tasksel/tests/desktop: disk=$(df -P /usr | tail -1 | awk '{print $4}') But this fails with: in-target: df: in-target: Warning: cannot read table of mounted file systems in-target: : No

Bug#538348: pkgsel/tasksel: can no longer determine free space for desktop task

2009-07-25 Thread Frans Pop
On Saturday 25 July 2009, Colin Watson wrote: Probably related to the problem reported by Martin re. initramfs-tools: an incorrect state of /etc/mtab in /target. It may also a result of the change Colin committed in debootstrap this week. Mm, yes, that's probable, although without that

Bug#538348: pkgsel/tasksel: can no longer determine free space for desktop task

2009-07-24 Thread Frans Pop
Package: pkgsel Version: 0.25 tasksel wants to do in the target chroot: tasksel/tests/desktop: disk=$(df -P /usr | tail -1 | awk '{print $4}') But this fails with: in-target: df: in-target: Warning: cannot read table of mounted file systems in-target: : No such file or directory Probably