Bug#681594: [buildd-tools-devel] Bug#681594: Bug#681594: on kfreebsd-* doesn't support getting executable pathname from kernel and from /proc/self/exe

2012-07-16 Thread Roger Leigh
On Mon, Jul 16, 2012 at 03:02:56AM +0200, Gabriele Giacone wrote: On 07/15/2012 11:33 PM, Roger Leigh wrote: So what's missing here, linprocfs inside the chroot? Or is there something additional that needs setting up? /proc is mounted but it doesn't behave like outside, at least about

Bug#681594: [buildd-tools-devel] Bug#681594: Bug#681594: on kfreebsd-* doesn't support getting executable pathname from kernel and from /proc/self/exe

2012-07-16 Thread Gabriele Giacone
On 07/16/2012 12:20 PM, Roger Leigh wrote: The question I have is, is this reproducible without schroot. e.g. can you reproduce the problem by: - mounting linprocfs on /path/to/chroot/proc - running chroot /path/to/chroot - testing if it still fails If this is the case, then it's most

Bug#681594: [buildd-tools-devel] Bug#681594: on kfreebsd-* doesn't support getting executable pathname from kernel and from /proc/self/exe

2012-07-15 Thread Roger Leigh
On Sat, Jul 14, 2012 at 05:18:36PM +0200, Gabriele Giacone wrote: nekocCALL __sysctl(0xbfbfe8f4,0x4,0x804c060,0xbfbfe8f0,0,0) nekocSCTL kern.proc.pathname.-1 -- schroot -- nekocRET __sysctl 0 -- outside -- nekocRET __sysctl -1 errno 2 No such file or directory --

Bug#681594: [buildd-tools-devel] Bug#681594: on kfreebsd-* doesn't support getting executable pathname from kernel and from /proc/self/exe

2012-07-15 Thread Gabriele Giacone
On 07/15/2012 11:33 PM, Roger Leigh wrote: So what's missing here, linprocfs inside the chroot? Or is there something additional that needs setting up? /proc is mounted but it doesn't behave like outside, at least about /proc/self/exe. Same about querying that kernel param. My configuration is

Bug#681594: on kfreebsd-* doesn't support getting executable pathname from kernel and from /proc/self/exe

2012-07-14 Thread Gabriele Giacone
Package: schroot Version: 1.6.0-1 Both methods in question works fine outside schroot. === nekocCALL __sysctl(0xbfbfe8f4,0x4,0x804c060,0xbfbfe8f0,0,0) nekocSCTL kern.proc.pathname.-1 -- schroot -- nekocRET __sysctl 0 -- outside -- nekocRET __sysctl -1 errno 2 No such

Bug#681594: on kfreebsd-* doesn't support getting executable pathname from kernel and from /proc/self/exe

2012-07-14 Thread Gabriele Giacone
On 07/14/2012 05:18 PM, Gabriele Giacone wrote: -- schroot -- nekocRET __sysctl 0 -- outside -- nekocRET __sysctl -1 errno 2 No such file or directory Sorry swapped. -- schroot -- nekocRET __sysctl -1 errno 2 No such file or directory -- outside -- nekocRET