Package: makejail
Version: 0.0.5-6
Severity: normal

When makejail is used to build a jail for bittorrent, it does not copy 
/lib/ld-linux.so.2.

        # chroot /bittorrent-chroot /usr/bin/btdownloadcurses
        chroot: cannot run command '/usr/bin/btdownloadcurses' : No such file 
or directory

The executable exists in the jail however. The following makejail configuration 
was used.

        chroot="/bittorrent-chroot"
        cleanJailFirst=1
        processNames=["btdownloadcurse"]
        testCommandsInsideJail=["/usr/bin/btdownloadcurses --saveas 
/torrents/test /torrents/test.torrent"]
        forceCopy=["/torrents/test.torrent"]
        preserve=["/dev/log","/torrents"]

When the forceCopy line above is replaced with the following, the jail builds 
successfully.

        forceCopy=["/torrents/test.torrent","/lib/ld-linux.so.2"]

The same problem arises when using makejail to chroot mldonkey.

I do not have this problem when using the stable release.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-686
Locale: LANG=ja_JP.EUC-JP, LC_CTYPE=ja_JP.EUC-JP (charmap=EUC-JP)

Versions of packages makejail depends on:
ii  binstats                      1.08-8     Statistics tool for installed prog
ii  psmisc                        22.2-1     Utilities that use the proc filesy
ii  python                        2.3.5-5    An interactive high-level object-o
ii  strace                        4.5.12-1   A system call tracer

makejail recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to