Package: jailtool Version: 1.1-3 Severity: grave Justification: renders package unusable
At least on AMD64, most (if not all, didn't check) binaries are linked against "/lib64/ld-linux-x86-64.so.2". In the base system, /lib64 is a symlink to /lib lrwxrwxrwx 1 root root 4 2007-01-09 17:44 lib64 -> /lib so that the library is found: $ ls -l /lib64/ld-linux-x86-64.so.2 lrwxrwxrwx 1 root root 11 2007-01-09 17:44 /lib64/ld-linux-x86-64.so.2 -> ld-2.3.6.so Jailtool doesn't copy/recreate this symlink, but just creates an empty directory /opt/chroot/lib64, so that /lib64/ld-linux-x86-64.so.2 can't be found and chrooting fails: kuschelhoelle:/opt/chroot# ls -l total 36 drwxr-xr-x 2 root root 4096 2007-01-27 14:13 bin drwxr-xr-x 2 root root 4096 2007-01-27 14:11 dev drwxr-xr-x 2 root root 4096 2007-01-27 14:11 home drwxr-xr-x 3 root root 4096 2007-01-27 14:11 lib drwxr-xr-x 2 root root 4096 2007-01-27 14:11 lib64 drwxr-xr-x 2 root root 4096 2007-01-27 14:11 sys drwxrwxrwt 2 root root 4096 2007-01-27 14:11 tmp drwxr-xr-x 7 root root 4096 2007-01-27 14:11 usr drwxr-xr-x 12 root root 4096 2007-01-27 14:11 var kuschelhoelle:/opt/chroot# ldd bin/bash libncurses.so.5 => /lib/libncurses.so.5 (0x00002ab46a2e5000) libdl.so.2 => /lib/libdl.so.2 (0x00002ab46a440000) libc.so.6 => /lib/libc.so.6 (0x00002ab46a544000) /lib64/ld-linux-x86-64.so.2 (0x00002ab46a1cd000) kuschelhoelle:/opt/chroot# chroot . chroot: cannot run command `/bin/bash': No such file or directory After manually linking lib64 to lib, everything works fine: kuschelhoelle:/opt/chroot# rm -r lib64/ kuschelhoelle:/opt/chroot# ln -s lib lib64 kuschelhoelle:/opt/chroot# chroot . kuschelhoelle:/# So I think the script should be fixed in a way that at least this symlink is copied properly to assure functionality within amd64 -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-3-amd64 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages jailtool depends on: ii perl 5.8.8-7 Larry Wall's Practical Extraction ii rsync 2.6.9-2 fast remote file copy program (lik jailtool recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]