[buildd-tools-devel] Bug#681594: 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
Mon Jul 16 10:20:37 UTC 2012


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
> /proc/self/exe. Same about querying that kernel param.
> My configuration is a fresh sbuild install as you can see below, with
> one sid chroot. Easy to reproduce.

I'm sure it is, but I don't currently have a kfreebsd system
available myself.

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 likely a linprocfs bug in
the kfreebsd kernel.

Also, what happens if you do a nullfs mount of the host /proc
onto /path/to/chroot?  Does it still fail in this case?


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