Your message dated Mon, 06 Jul 2026 01:19:35 +0000
with message-id <[email protected]>
and subject line Bug#1138512: fixed in fakeroot 2.1-1
has caused the Debian Bug report #1138512,
regarding fakeroot: flistxattr can not list xattrs set up in fakeroot
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.)


-- 
1138512: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1138512
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: fakeroot
Version: 1.38.1-1
Severity: important
X-Debbugs-Cc: [email protected]

Dear Maintainer,

I am an Arch Linux user and I confirmed that the following bug applies
to the latest fakeroot source code.

This is a regression bug introduced by commit 9613bbb4, which
pass through flistxattr syscall to underlying file system even though
some xattr is set up in fakeroot container. I attached a script to
demonstrate the issue: when packaging software, packaging helper may
setcap on a file in container, which is emulated; getcap on that file is
OK, due to fakeroot emulation filters user xattrs, so capabilities are
emulated correctly and getcap can print the cap set. However, flistxattr
is not filtered and returns immediately if underlying file system xattr
query does not fail, leading to capabilities drop.

If the problem exists, y.tar does not contain PaxHeader/y at the header
as no xattr is found. I think fakeroot should fall back to emulate
xattrs if the underlying file in file system does not contain any xattr?

-- Script to reproduce:

#!/bin/sh
id
mkdir -p /tmp/tst-setcap
cd /tmp/tst-setcap
touch y
chmod +x y
setcap cap_net_admin,cap_net_raw+ep y
getcap y
bsdtar -cvaf y.tar y
xxd y.tar | head

-- System Information:
This bug is observed in downstream distribution: Arch Linux
uname: Linux aRchOG 7.0.5-arch1-1-g14 #1 SMP PREEMPT_DYNAMIC Wed, 13 May 2026 
18:07:58 +0000 x86_64 GNU/Linux
Downstream package version: core/fakeroot: 1.38.1-1

--- End Message ---
--- Begin Message ---
Source: fakeroot
Source-Version: 2.1-1
Done: Clint Adams <[email protected]>

We believe that the bug you reported is fixed in the latest version of
fakeroot, 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.
Clint Adams <[email protected]> (supplier of updated fakeroot 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: SHA512

Format: 1.8
Date: Sun, 05 Jul 2026 20:29:07 -0400
Source: fakeroot
Architecture: source
Version: 2.1-1
Distribution: unstable
Urgency: medium
Maintainer: Clint Adams <[email protected]>
Changed-By: Clint Adams <[email protected]>
Closes: 855662 1099747 1101744 1138512
Changes:
 fakeroot (2.1-1) unstable; urgency=medium
 .
   * New upstream version.
     - Includes man page markup fixes from Bjarni Ingi
       Gislason.  closes: #1099747.
     - Patch from Yann Dirson to fix -s and -i handling
       of spaces in filenames.  closes: #1101744.
     - {f,l,}listxattr no longer short-circuit if real
       xattrs are empty.  closes: #1138512.
     - Might handle msgrcv errors better, possibly
       closes: #855662.
Checksums-Sha1:
 9819110c52118ac1a7af326f3b2a2e4197a3319c 2224 fakeroot_2.1-1.dsc
 0973f2989cfab28ff5c8eb303b1fb7abaa3761ae 115124 fakeroot_2.1.orig.tar.xz
 daad1a924e692431922515e08e6c6b9bee1d3d5b 24176 fakeroot_2.1-1.debian.tar.xz
 bad9fe97a699b2436623cab35743cfe5b27366b5 395904 fakeroot_2.1-1.git.tar.xz
 6de3c710e6d6ef73ede0cecf5c023b58bb4efcf9 17500 fakeroot_2.1-1_source.buildinfo
Checksums-Sha256:
 9f6bf57c654150590e49e63910ad154cadea0aa67bfaf80a4d673bb39cb92be6 2224 
fakeroot_2.1-1.dsc
 43dd6e3e25b620c536849768480b609ffa1a266c88590f45f38ad13f95712ef3 115124 
fakeroot_2.1.orig.tar.xz
 faeaa2042add6de944b387b8e9690e07216aa1bdeb3a17aa1511ad32e9b6a53e 24176 
fakeroot_2.1-1.debian.tar.xz
 65b3fad62c906b49cce26ce5a3b69442d9c297194bb62234e00ca9ab91ccceb8 395904 
fakeroot_2.1-1.git.tar.xz
 f3268838f6c397dc26915b2b1964d01660a0bbd0876580bd334352cfb29912f3 17500 
fakeroot_2.1-1_source.buildinfo
Files:
 2ef03a49a8a13f7cd0fd4207ef7b0fb8 2224 utils optional fakeroot_2.1-1.dsc
 eb6c4415fa0435df6ef697c8382c4c87 115124 utils optional fakeroot_2.1.orig.tar.xz
 7b84d5f93da5307831521597993172d3 24176 utils optional 
fakeroot_2.1-1.debian.tar.xz
 0d46651d93cba8e98f1febf13eefe748 395904 utils optional 
fakeroot_2.1-1.git.tar.xz
 3311e1648c838bab025036f38e583462 17500 utils optional 
fakeroot_2.1-1_source.buildinfo
Git-Tag-Info: tag=041e4400d1aeff6fb8949dbdb7fd1b8feb453249 
fp=7581ec874053e6c807791b9b5592331e199d38a8
Git-Tag-Tagger: Clint Adams <[email protected]>

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmpK/zkACgkQYG0ITkaD
wHlAZg//V7z3RK2e4Svxh4mPZ+igyn0JcloZNOl+nkUPNvnZo8slOE5Zg6SNPLt3
MmtoVkuUN6QCcdaOfP3X79kwSbgHgTBcpmPbNjxi1wGHK4bpXijRMZ704gOWjgz5
2bgwsYWw/YkAFcOrJ3YzL4Gq3gzEjiZHD0g2Yb72EYepZa6rsEKena76o5t8zDNJ
PLNUcL6rzJ0GlS8qi8+kNJH8wUS0zuZ0Qt1Ii71rwVMPSwAbb5b8pSxonlH8IjkV
NOxC8esJI6RS9/ca10ajUWYBjPTx1/3lr4c05uQ3aH3yKTMggxgZemA57g91YXx6
00O2r6bKTEhmP/f3NZzGQAc0tIeBHOAdQcxDpojRUJFaZZPAxiwxDoGwkWPeTuij
Kc52NwgZ4y/0SQ1LgSfwZRWxqd/daIOhO8gg7TFUfppSgzwsZo3YhhhFdnVuORfr
wUTj/yyA52mXdS7YX85EmSixCfiiKWRgW5mKV4aREY4TSCEmmZiLgeiKe+Chk4QD
lxWKhb7yPcE055O0IXELUURuua3Mv1EySObv05tL/Ty7PL+/U5INIgl7GbQCMbUo
gdEoC8qLJiNyWsqsPj9WscMuGV5ct6jfxQGeEIywF4WbOjswm0MHv01Eiy07jLBh
dMYP9OHNHSbRGvC/FZRx2H5GK4pjrHoFNGePK5RQqINGlItu8BA=
=Z/Nx
-----END PGP SIGNATURE-----

Attachment: pgp0OaeYF0GJh.pgp
Description: PGP signature


--- End Message ---

Reply via email to