Your message dated Fri, 06 Dec 2013 00:33:28 +0000
with message-id <[email protected]>
and subject line Bug#533560: fixed in fakechroot 2.17.1-1
has caused the Debian Bug report #533560,
regarding Error listing out excluded relative directory from an unexcluded
directory
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.)
--
533560: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533560
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: fakechroot
Version: 2.9
This shell script illustrates the issue:
#!/bin/bash
rm -rf new_root
mkdir -p new_root$PWD/foo
touch new_root$PWD/foo/qux
rm -rf foo
mkdir foo
touch foo/bar
export FAKECHROOT_EXCLUDE_PATH="/bin:/lib:/etc:/dev:/proc:/tmp:$PWD/foo"
echo 'fakechroot chroot new_root /bin/sh -c "ls $PWD/foo"'
fakechroot chroot new_root /bin/sh -c "ls $PWD/foo"
echo 'fakechroot chroot new_root /bin/sh -c "cd $PWD/foo && ls"'
fakechroot chroot new_root /bin/sh -c "cd $PWD/foo && ls"
echo 'fakechroot chroot new_root /bin/sh -c "cd $PWD && ls foo"'
fakechroot chroot new_root /bin/sh -c "cd $PWD && ls foo"
Which results in the (buggy) output:
fakechroot chroot new_root /bin/sh -c "ls $PWD/foo"
bar
fakechroot chroot new_root /bin/sh -c "cd $PWD/foo && ls"
bar
fakechroot chroot new_root /bin/sh -c "cd $PWD && ls foo"
qux
The last line should say "bar", not "qux"
I've attached a patch that fixes the issue, but it feels hacky.
exclude-handling.diff
Description: Binary data
--- End Message ---
--- Begin Message ---
Source: fakechroot
Source-Version: 2.17.1-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.
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: Thu, 05 Dec 2013 22:14:14 +0100
Source: fakechroot
Binary: fakechroot libfakechroot
Architecture: source all amd64
Version: 2.17.1-1
Distribution: unstable
Urgency: low
Maintainer: Piotr Roszatycki <[email protected]>
Changed-By: Piotr Roszatycki <[email protected]>
Description:
fakechroot - gives a fake chroot environment - utilities
libfakechroot - gives a fake chroot environment - runtime
Closes: 533560 582478 582479 631390 649146 663967 664121 691538 694827 697465
700816 720641 720643 720645 720647 720648 726161 730981
Changes:
fakechroot (2.17.1-1) unstable; urgency=low
.
* New upstream release:
- It is safe to use relative paths which won't escape from fake chroot.
Closes: #533560, #582478, #582479, #663967.
- More bugfixes. Closes: #631390, #649146, #664121, #691538, #694827,
#697465, #700816, #720641, #720643, #720645, #720647, #720648, #730981.
* Use dh_autoreconf to update config.guess and config.sub for arm64. Thanks
to Colin Watson. Closes: #726161.
Checksums-Sha1:
0c1754ca8202c3f39968f74803afc6449dbe850e 1314 fakechroot_2.17.1-1.dsc
499589449ed80e227c0ebe262f5e210a2e9978ed 461563 fakechroot_2.17.1.orig.tar.gz
8244d99eeab2c7bc057a00030e10515df78ec961 8907 fakechroot_2.17.1-1.debian.tar.gz
bea2771ab61c4e64f7afce0b4254cd2e23038da9 28492 fakechroot_2.17.1-1_all.deb
1b052e43697565f665189dfc9a4456c87ffe0969 40650 libfakechroot_2.17.1-1_amd64.deb
Checksums-Sha256:
f4ff65496e320f5a61e4b5d1e482785c2a5e96ddf28fa98fe509bfee8e2ad59a 1314
fakechroot_2.17.1-1.dsc
7662279b38f4cab0475d432872dde328e774f17306448abc98033ece35999315 461563
fakechroot_2.17.1.orig.tar.gz
db68914921d2ad7cb9ba183863a524f5034501e0013942e8338ace9f2a349f04 8907
fakechroot_2.17.1-1.debian.tar.gz
d3ccaca2a6a6482d4754172db8f36c0f242ae89de4eb21f18f3c99e6457c189e 28492
fakechroot_2.17.1-1_all.deb
74e0452d091386bf39f5b11fffb866fe14602fa2ac4f993d53b6aff0cd211980 40650
libfakechroot_2.17.1-1_amd64.deb
Files:
d6c2d8f94a83f77b3231c80b639f0c33 1314 utils optional fakechroot_2.17.1-1.dsc
3c17eff0c854a77f98b4d0db086bc5bc 461563 utils optional
fakechroot_2.17.1.orig.tar.gz
741b102d298ecfb8d7a4b6b690245512 8907 utils optional
fakechroot_2.17.1-1.debian.tar.gz
a3dbcdacc8c9a79a362dab705c8d2d7e 28492 utils optional
fakechroot_2.17.1-1_all.deb
1c3581efc0e422760b406981ecb232c9 40650 libs optional
libfakechroot_2.17.1-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
iEYEARECAAYFAlKhGHcACgkQhMHHe8CxCls2ygCg6sYz89upVHUuGu6iTNOVoUys
UmkAnjyNLL+lnr1lxscWd9U6l12eCsE4
=PN5Y
-----END PGP SIGNATURE-----
--- End Message ---