Your message dated Tue, 15 Jul 2008 15:47:09 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#473682: fixed in fakechroot 2.7-1
has caused the Debian Bug report #473682,
regarding fakechroot does not properly wrap *at syscalls (openat, unlinkat, 
fstatat, etc)
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.)


-- 
473682: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=473682
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: fakechroot
Version: 2.6-1.3
Severity: important

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

I made a simple fakechroot environment including only busybox and
/bin/rm, using these versions:

[0 [EMAIL PROTECTED] ~]$ dpkg -l busybox coreutils
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  busybox        1:1.1.3-5      Tiny utilities for small and embedded system
ii  coreutils      6.10-3         The GNU core utilities
[0 [EMAIL PROTECTED] ~]$ 

fakechroot appears to no longer actually trick /bin/rm into operating
within the "chroot", though i recall it doing so successfully back
when i was using coreutils 5.97-5.3 only two weeks ago.

Here's the test setup.  I create a mini chroot environment, create a
new file in the "root" directory named "x", and /bin/rm is unable to
unlink it if the path to /x is specified absolutely:

[0 [EMAIL PROTECTED] cdtemp.o27783]$ rm -rf root
[0 [EMAIL PROTECTED] cdtemp.o27783]$ mkdir -p root/{bin,lib}
[0 [EMAIL PROTECTED] cdtemp.o27783]$ cp /lib/lib{{c,m}.so.6,crypt.so.1} root/lib
[0 [EMAIL PROTECTED] cdtemp.o27783]$ cp /bin/{busybox,rm} root/bin/
[0 [EMAIL PROTECTED] cdtemp.o27783]$ cp /lib/ld-linux.so.2 root/lib
[0 [EMAIL PROTECTED] cdtemp.o27783]$ ln root/bin/busybox root/bin/sh
[0 [EMAIL PROTECTED] cdtemp.o27783]$ fakechroot /usr/sbin/chroot root /bin/sh


BusyBox v1.1.3 (Debian 1:1.1.3-5) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

/ $ touch /x
/ $ /bin/rm /x
/bin/rm: cannot remove `/x': No such file or directory
/ $ ls -l /x  
- -rw-r--r--    1 1000     1000            0 Mar 31 20:17 /x
/ $ rm /x
/ $ ls -l /x
ls: /x: No such file or directory
/ $ touch /x
/ $ ls -l /x 
- -rw-r--r--    1 1000     1000            0 Mar 31 20:21 /x
/ $ /bin/rm /x                       
/bin/rm: cannot remove `/x': No such file or directory
/ $ /bin/rm /tmp/cdtemp.o27783/root/x
/ $ ls -l /x
ls: /x: No such file or directory
/ $ exit
[0 [EMAIL PROTECTED] cdtemp.o27783]$ ls -l /x
ls: cannot access /x: No such file or directory
[2 [EMAIL PROTECTED] cdtemp.o27783]$ 

Note that busybox's rm appears to be capable of unlinking the chrooted
/x, but that /bin/rm is not able to do so.  Even worse, when /bin/rm
uses the *real* (unchrooted) path to the file, it successfully unlinks
it.

I haven't followed all the changes in the recent versions of
coreutils.  Is it possible that there's some new library call that is
being used that fakechroot isn't handling or something?

Thanks for maintaining fakechroot in debian.  If i can help debug this
any further, please let me know.

Regards,

        --dkg

- -- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable'), (101, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages fakechroot depends on:
ii  libc6                         2.7-6      GNU C Library: Shared libraries

fakechroot recommends no packages.

- -- no debconf information

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

iQIVAwUBR/GCE8zS7ZTSFznpAQJk9xAAjEnjB1oPnDSfhBeSbZiDRoqsau2DsmXv
rkRudwE6VkDqZ3CqSwmXl4OiuaoG4xkiASshzflAEXyDb2B4de+KyibZb7W45dSv
B+IAoZFhqhc6ha/BUvIpM6rr8PY4T9MWwOIONQ7AVCbE3+2PFsKmN02PQ73X8ykD
uV+gmxpiR8/vuo8IBZMhE2D2ZlAd8eL25cWNTVJBrddQQt5xgWooSr8C5lo1fof3
anBa1MxCu8n1a11cn1MJBSt/YmBfuZ0IZVItgraoLdsNWldUvkvOp3k2g/VIVtje
LAF0QcvyobqMI08hOv0GYjMVqVuQFEUvhys3IHikbwoJcF2DRBwG5w9+1npMPZ+p
Kwsr5py7DHNmRd72g4IDP8W4/UbHE68QYo0H7pncztdSB7aVAowpRkRtjqfzJCol
0FaStrjp07WvMY+LkAVCnyCWe0p/mISNTJ8ts2pE8AMIg20jt7u28QXKqkOdNBFz
28YXsaWmTkw39au7iEwIqgyOgtb0vIEF6Z82uc0E+AbnON2cd7Xys2nSmqjZV8HI
TZG4vXlgDRyU1YhjP4cVCFEK1npjf279S/l2jGwmi2TLKEFnpxISpn7nlu7Ht73Z
1YPdumqnrhyLKXGCg7JRhFAAXSQeeYi8TqCBailinmNMahnyW99TPy76SRiUXWvz
2LnWX7gp01g=
=2q65
-----END PGP SIGNATURE-----



--- End Message ---
--- Begin Message ---
Source: fakechroot
Source-Version: 2.7-1

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

fakechroot_2.7-1.diff.gz
  to pool/main/f/fakechroot/fakechroot_2.7-1.diff.gz
fakechroot_2.7-1.dsc
  to pool/main/f/fakechroot/fakechroot_2.7-1.dsc
fakechroot_2.7-1_amd64.deb
  to pool/main/f/fakechroot/fakechroot_2.7-1_amd64.deb
fakechroot_2.7.orig.tar.gz
  to pool/main/f/fakechroot/fakechroot_2.7.orig.tar.gz



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.
Piotr Roszatycki <[EMAIL PROTECTED]> (supplier of updated fakechroot 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: Tue, 15 Jul 2008 13:31:00 +0200
Source: fakechroot
Binary: fakechroot
Architecture: source amd64
Version: 2.7-1
Distribution: unstable
Urgency: medium
Maintainer: Piotr Roszatycki <[EMAIL PROTECTED]>
Changed-By: Piotr Roszatycki <[EMAIL PROTECTED]>
Description: 
 fakechroot - gives a fake chroot environment
Closes: 412774 413918 420870 473682 477447
Changes: 
 fakechroot (2.7-1) unstable; urgency=medium
 .
   * Apply all NMU patches.  Thank you, people!
   * Improved stability and support for the latest libc.  Closes: #420870.
   * src/libfakechroot.c:
     - Fixed readlink(2) function to be ssize_t as it is in newer libc.
       Thanks Sune Vuorela.
     - New functions: __fxstatat(2), __fxstatat64(2), fchmodat(2), fchownat(2),
       __openat(2), __openat64(2), unlinkat(2).  It fixes last coreutils.
       Thanks Martin Pitt and Daniel Kahn Gillmor.  Closes: #473682.
     - New functions: mkdirat(2), renameat(2).
     - Fixed chroot(2) function to not change current working directory.
       Closes: #477447.
     - Fixed chroot(2) function to handle relative path.
     - Fixed execve(2) function to not expand argv0 and handle "#!" correctly.
       Thanks Mark Eichin.  Closes: #412774.
     - New eaccess(3) function backported from Klik.
     - New functions: bind(2), connect(2), getpeername(2), getsockname(2).
       They support PF_UNIX sockets.  Closes: #413918.
     - More memory allocation for fakechroot_init.
   * test/fakechroot.sh:
     - Add cp, mkdir, chmod, rm and libraries.
     - Call bash instead of sh.
     - Use /usr/lib/fakechroot library path if own version is not compiled.
   * debian/packages:
     - Standards-Version: 3.8.0
     - Depends on main libc package.  Non-default multilib architecture is
       excluded from dependencies list.
     - Multilib architecture is supported on i386.
Checksums-Sha1: 
 37a27fe207fb12deb3b5c5d394c45cfd6608247e 1269 fakechroot_2.7-1.dsc
 58e9952adc63e92cc165e1315e81219558219e6b 480932 fakechroot_2.7.orig.tar.gz
 509a374087f1d21825141b778affbd8721316150 7690 fakechroot_2.7-1.diff.gz
 20029b2d0be10fef5536634a1ca67a980ea2b91e 50510 fakechroot_2.7-1_amd64.deb
Checksums-Sha256: 
 5984800010e4b4d8fae9cab47b4c27d8017f4953abd90474deabb8d35abe67f5 1269 
fakechroot_2.7-1.dsc
 aca2e144bb9188d809e60dcb7682981637403ae6d1e3a0bea7fe55f45e563ad4 480932 
fakechroot_2.7.orig.tar.gz
 c76def9c9890737a618a50ca7f389774c8a0df2d7715df347c4a1aeb98a5750f 7690 
fakechroot_2.7-1.diff.gz
 7a506fc2779bb93001a98a910e038f01341db03577e9bf10539e46544633bb75 50510 
fakechroot_2.7-1_amd64.deb
Files: 
 0ac16f37c5a8354886d3d3fbd1360d21 1269 utils optional fakechroot_2.7-1.dsc
 67cbc05f53fe4630c64465b3917c8469 480932 utils optional 
fakechroot_2.7.orig.tar.gz
 72e7e82c1d797ccfcf036f66ad5bc08e 7690 utils optional fakechroot_2.7-1.diff.gz
 2ba4847a7b5b2f2a31d9fb324641561a 50510 utils optional 
fakechroot_2.7-1_amd64.deb

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

iD8DBQFIfMO7hMHHe8CxClsRAkrXAKChGu1q4J9wIlMiw4VpRGy6dL6nIwCePMQG
fWfi5XqOSmSKM7V0v55Rn7U=
=Pko1
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to