[buildd-tools-devel] Bug#681594: Bug#681594: on kfreebsd-* doesn't support getting executable pathname from kernel and from /proc/self/exe
Roger Leigh
rleigh at codelibre.net
Sun Jul 15 21:33:33 UTC 2012
On Sat, Jul 14, 2012 at 05:18:36PM +0200, Gabriele Giacone wrote:
> nekoc CALL __sysctl(0xbfbfe8f4,0x4,0x804c060,0xbfbfe8f0,0,0)
> nekoc SCTL "kern.proc.pathname.-1"
> -- schroot --
> nekoc RET __sysctl 0
> -- outside --
> nekoc RET __sysctl -1 errno 2 No such file or directory
> -- schroot --
> # ls -l /proc/self/exe
> ls: cannot read symbolic link /proc/self/exe: No such file or directory
> lr--r--r-- 1 root root 0 Jul 14 14:39 /proc/self/exe
>
> -- outside --
> # ls -l /proc/self/exe
> lr--r--r-- 1 root root 0 Jul 14 16:39 /proc/self/exe -> /bin/ls
So what's missing here, linprocfs inside the chroot? Or is there
something additional that needs setting up?
What's the output of "schroot -i -c $chroot" for the build chroot?
and/or "schroot --config"?
Thanks,
Roger
--
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' schroot and sbuild http://alioth.debian.org/projects/buildd-tools
`- GPG Public Key F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800
More information about the Buildd-tools-devel
mailing list