Your message dated Thu, 24 Apr 2008 21:02:04 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#408622: fixed in jailtool 1.1-4
has caused the Debian Bug report #408622,
regarding jailtool: /lib64 isn't symlinked to /lib
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
408622: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=408622
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
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


--- End Message ---
--- Begin Message ---
Source: jailtool
Source-Version: 1.1-4

We believe that the bug you reported is fixed in the latest version of
jailtool, which is due to be installed in the Debian FTP archive:

jailtool_1.1-4.diff.gz
  to pool/main/j/jailtool/jailtool_1.1-4.diff.gz
jailtool_1.1-4.dsc
  to pool/main/j/jailtool/jailtool_1.1-4.dsc
jailtool_1.1-4_all.deb
  to pool/main/j/jailtool/jailtool_1.1-4_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Frank Lichtenheld <[EMAIL PROTECTED]> (supplier of updated jailtool package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 24 Apr 2008 20:48:57 +0200
Source: jailtool
Binary: jailtool
Architecture: source all
Version: 1.1-4
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <[EMAIL PROTECTED]>
Changed-By: Frank Lichtenheld <[EMAIL PROTECTED]>
Description: 
 jailtool   - Tool to build chroot-jails for daemons
Closes: 395638 408622
Changes: 
 jailtool (1.1-4) unstable; urgency=low
 .
   * QA Upload
     + change maintainer to QA group
   * Increase debhelper compat level to 5
   * Move debhelper to Build-Depends
   * Clean-up debian/rules
     + add binary-arch target (closes: #395638)
   * Handle symlinks to directories correctly. Patch by Brad Barnett
     (closes: #408622)
   * Correct copyright holder in debian/copyright
Checksums-Sha1: 
 3257a33c806812b27400ad72f1ab0921b95fd34e 967 jailtool_1.1-4.dsc
 a42abee1a7f5ce17de934cad4d0c2b30e3a82dad 3809 jailtool_1.1-4.diff.gz
 c86e83a4363928f838f15c4a3db4495374696df5 9822 jailtool_1.1-4_all.deb
Checksums-Sha256: 
 6832d7c1dd74d72bdc186653da3b6354b43f1f7f171ffa406ce11d77dfd3e745 967 
jailtool_1.1-4.dsc
 e8dd8f997ee2f6a4697c8e5846dbdc292cc926f0f7aee1ea641f2cc907e0d46a 3809 
jailtool_1.1-4.diff.gz
 8453d1a0338bfb50c289fbd64976bfca7fe4fce2557cb8994a762185a6fd7afd 9822 
jailtool_1.1-4_all.deb
Files: 
 3d6391070a179af0bfcc2eeb7ad7564b 967 admin optional jailtool_1.1-4.dsc
 8d2fbb60b5020d9a8ec6362d6fb04f31 3809 admin optional jailtool_1.1-4.diff.gz
 237176ebe07b13d6bdaeecd8bae3977d 9822 admin optional jailtool_1.1-4_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIEOQlQbn06FtxPfARAslBAJ4vjM6j1gXRjjcI7Hny4RBQuYl2eACfb4PY
iEhV8Xn0tVKSF26yRHs/774=
=cqAc
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to