Package: linux-user-chroot
Version: 2013.1-2
Severity: important

Dear Maintainer,

linux-user-chroot is returning ENOENT when trying to execvp the program 
specified as a parameter.

$ fakeroot fakechroot debootstrap --variant=fakechroot testing chroot 
http://http.debian.net/debian/
$ linux-user-chroot $PWD/chroot /bin/sh
execv: No such file or directory

The same error is returned for /bin/dash or every other binaries in /bin

strace didn't helped out.

I've hacked the source, replacing the execvp() call with stat('/bin/sh') or 
opendir('/bin') and a loop of readdir() but both were succesful and accessed 
the right files.

regards,
Nicolas

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'testing'), (300, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-user-chroot depends on:
ii  libc6  2.17-97

linux-user-chroot recommends no packages.

linux-user-chroot suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to