Your message dated Fri, 06 Mar 2026 20:34:48 +0000
with message-id <[email protected]>
and subject line Bug#1108534: fixed in e2fsprogs 1.47.4-1
has caused the Debian Bug report #1108534,
regarding e2fsprogs: getfattr returns different values for posix acls when 
using fuse2fs
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.)


-- 
1108534: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1108534
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: e2fsprogs
Version: 1.47.0-2
Severity: minor

Dear Maintainer,

Without using fuse at all:
# touch x
# setfacl -m u:root:rw x
# getfattr -m - -d x
# file: x
system.posix_acl_access=0sAgAAAAEABgD/////AgAGAAAAAAAEAAQA/////xAABgD/////IAAEAP////8=


When done via fuse2fs:
# which fuse2fs
/usr/bin/fuse2fs
# mkdir mnt
# fuse2fs img mnt
# touch mnt/x
# setfacl -m u:root:rw mnt/x
# getfattr -m - -d mnt/x
# file: mnt/x
system.posix_acl_access=0sAgAAAAEABgAAAAAAAgAGAAAAAAAEAAQAAAAAABAABgAAAAAAIAAEAAAAAAA=

# umount mnt
# /tmp/fuse2fs img mnt
# getfattr -m - -d mnt/x
# file: mnt/x
system.posix_acl_access=0sAgAAAAEABgD/////AgAGAAAAAAAEAAQA/////xAABgD/////IAAEAP////8=

# umount mnt

Note that the one run with my patched libext2fs gets the same value as 
without using fuse without rewriting the attribute showing that this is 
a read issue only.


diff --git a/lib/ext2fs/ext_attr.c b/lib/ext2fs/ext_attr.c
index 7723d0f9..d09a13da 100644
--- a/lib/ext2fs/ext_attr.c
+++ b/lib/ext2fs/ext_attr.c
@@ -671,7 +671,7 @@ static errcode_t convert_disk_buffer_to_posix_acl(const 
void *value, size_t size
                        case ACL_GROUP_OBJ:
                        case ACL_MASK:
                        case ACL_OTHER:
-                               entry->e_id = 0;
+                               entry->e_id = -1;
                                cp += sizeof(ext4_acl_entry_short);
                                size -= sizeof(ext4_acl_entry_short);
                                break;



-- System Information:
Debian Release: 12.11
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-37-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages e2fsprogs depends on:
ii  libblkid1    2.38.1-5+deb12u3
ii  libc6        2.36-9+deb12u10
ii  libcom-err2  1.47.0-2
ii  libext2fs2   1.47.0-2
ii  libss2       1.47.0-2
ii  libuuid1     2.38.1-5+deb12u3
ii  logsave      1.47.0-2

Versions of packages e2fsprogs recommends:
pn  e2fsprogs-l10n  <none>

Versions of packages e2fsprogs suggests:
pn  e2fsck-static  <none>
ii  fuse2fs        1.47.0-2
pn  gpart          <none>
pn  parted         <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: e2fsprogs
Source-Version: 1.47.4-1
Done: Theodore Y. Ts'o <[email protected]>

We believe that the bug you reported is fixed in the latest version of
e2fsprogs, 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.
Theodore Y. Ts'o <[email protected]> (supplier of updated e2fsprogs 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: Fri, 06 Mar 2026 11:16:31 -0500
Source: e2fsprogs
Architecture: source
Version: 1.47.4-1
Distribution: unstable
Urgency: medium
Maintainer: Theodore Y. Ts'o <[email protected]>
Changed-By: Theodore Y. Ts'o <[email protected]>
Closes: 1106854 1108010 1108534 1118461 1125176 1126636
Changes:
 e2fsprogs (1.47.4-1) unstable; urgency=medium
 .
   * New upstream version
   * Mark libext2fs-dev as Multi-Arch: same (Closes: #1118461)
   * Suppress warnings in mke2fs regarding large block sizes if the kernel
     supports blocksize greater than page size
   * Add mke2fs extended option in root_selinux to set a SELinux security
     context label for the root directory
   * Enable mke2fs to support multiple -E options in the command line.
   * Fix e2fsck incorrectly flagging fast symlinks with a large external
     extended attribute (using an EA inode) as having an invalid number of
     blocks
   * Add a check in e2fsck for an extended attributes with a value stored
     in an EA inode that has an invalid zero size
   * Fix e2scrub so that it the retry loop for lvremove works properly (in
     case of a temporary busy failure)
   * Many bug fixes for fuse2fs and libext2fs to make fuse2fs behave more
     like the Linux kernel's implementation of ext4.  These were found when
     running fuse2fs under xfstests, and fixing the resulting test failures
     (Closes: #1108534)
   * Mke2fs warnings about dax are now printed to stdout instead of stderr,
     since they aren't failures
   * Fix mke2fs so it won't create an orphan file inode which is larger than
     what the kernel now permits when using a 64k blocksize
   * Fix mke2fs -d so it can handle copying a file larger than 2 GiB
   * Fix e4defrag crashing when it tries to defragment an inline data f
   * Various man page cleanups (Closes: #1125176)
   * Set Multi-Arch same: on libext2fs2-dev to allow co-installation on
     platforms such as amd64 and arm64
   * Fix a FTBFS caused by a doubled pkg-config in the debian/rules which
     previously silently worked, but now fails with a newer version of
     pkg-config (Closes: #1126636)
 .
 e2fsprogs (1.47.3-1) unstable; urgency=medium
 .
   * New upstream version
   * Update Malay translation
 .
 e2fsprogs (1.47.3~rc3-1) experimental; urgency=medium
 .
   * fix missing dependency in libext2fs2t64 for libcom-err2
     (Closes: #1108010)
   * e2scrub no longer runs fstrim by default, since util-linux ships
     with a fstrim.timer systemd file which will run fstrim on all
     mounted file systems.
   * Fix a bounding error in ext2fs_fallocate() which could cause it to
     allocate far more blocks than was requested.  This caused a
     failure in fuse2fs while formatting a loopback file system stored
     in a large sparse file.
   * update to debian policy 4.7.2
 .
 e2fsprogs (1.47.3~rc2-1) experimental; urgency=medium
 .
   * Add a lockfile command-line option to fuse2fs which is useful for
     scripts that need to know when fuse2fs is done modifying the file system
     after it is unmounted.
   * Fix mke2fs -d when importing large directories (Closes: #1106854)
   * Fix indention problem in the man page for mke2fs
   * Fix a (hard to reproduce) extent tree corruption bug which could be
     triggered by resize2fs or fuse2fs if the extent tree was especially complex
   * Fix error path handling in fuse2fs when servicing an op_create request.
   * Fix spurious warnings from fuse2fs while servicing an op_fallocate request.
   * Fix fuse2fs to correctly translate system errors from libext2fs to the
     negative error codes expected by the FUSE kernel driver.
   * Update Czech, Chinese, Dutch, French, Portuguese, Polish, Romainian,
     Serbian, Spanish, Swedish, and Ukrainian translations.
 .
 e2fsprogs (1.47.3~rc1-1) experimental; urgency=medium
 .
   * Mke2fs -d can now copy the fs-verity metadata and chattr flags
     into newly created file system.
   * Many fuse2fs improvements and bug fixes
       - Add support for XATTR_CREATE and XATTR_REPLACE flags in setxattr()
       - Add support for FALLOC_FL_ZERO_RANGE.
       - Add support to fuse2fs for the setting file attributes via fsxattr,
         including support for nanosecond timestamps.
       - Add support to set newer chattr flags.
       - Fix fuse2fs support for O_APPEND, O_TRUNC, POSIX ACLs, and
         the immutable flag
       - Remove the ea_inode when deleting the last file using the ea_inode
       - Update timestamps after mkdir() and symlink() operations
       - Fix error code handling for fallocate(), truncate() and
         removexattr().
       - Improve handling of corrupted file systems
       - Refuse to handle renameat2's RENAME_EXCHA?NGE or RENAME_WHITEOUT
         flags instead of doing something random
       - Avoid clearing the setgid bit in op_chmod when file's group
         ownership the calling process's group list (instead of just the
         primary group id).
       - Align with the kernel's behaviors:
           + clearing post-EOF on truncation
           + validating FITRIM's parameters consistently with how the kernel
             does things
           + how the "ro" mount option will replay the journal
           + only supporting the xattr namespaces supported by the kernel
           + clamping timestamps to the minimum and maximum value supported
             by the on-disk format
           + optionally delegating access control decisions to the kernel
       - Don't mount file systems which have features that fuse2fs can't
         deal with.
       - Return inode and type information in readdir()
       - Use the actal inode numbers instead of asking fuse to make
         up inode numbers
       - Use a larger disk cache to improve performance and optionally
         use Direct I/O.
   * Add mke2fs.conf knobs to control whether the RAID stripe or stride
     sizes from the storage device information depending on whether the
     storage device is a rotational or non-rotational device.  By default
     don't set the RAID stripe size for non-rotational devices.
   * Fix "e2fsck -E unshare_blocks" to clear the shared_blocks flag when
     there are no shared blocks to clear
   * Fix "e2fsck -n" to not abort when it trips across an EA inode which
     is not referenced by any inodes in the file system.
   * Fix debugfs's dump and rdump commands to avoid looping forever when
     it runs across an I/O error or corupt filesystem metadata.
   * Fix debugfs's dirsearch command on big-endian systems.
   * Optimize ext2fs_extent_set_bmap() to avoid fragmenting the extent
     tree.  This fixes a problem where resize2fs is trying to relocate
     all of the blocks in a file leading to the extent tree doubling in
     size, and potentially leading to a corrupted extent tree.
   * Fix potential livelock bug in the unix_io manager.
   * Fix invaidation support in the unix_io manager.
   * Various man page cleanups.
   * Improve performance in e2fsck when replaying a journal with a large
     number of revoke blocks (which can be the case on Lustre servers).
   * Improve tune2fs's performance by avoiding scanning the file system to
     update quota inodes in cases when it's not necessary.
   * Update Dutch, Malay, Portuguese, and Serbian translations.
Checksums-Sha1:
 cd45bcfa43c18dcb5a81a6fd24ffaf883221a0c0 3138 e2fsprogs_1.47.4-1.dsc
 62689efed154b2c1b7599d93ba06bb40c7b7aae7 10106395 e2fsprogs_1.47.4.orig.tar.gz
 040ef6137eb61191cfb01435e0fdb8ae46a9822e 488 e2fsprogs_1.47.4.orig.tar.gz.asc
 1a96f3056ee98baa4d38acab948c25de1ef7fc8a 94496 e2fsprogs_1.47.4-1.debian.tar.xz
Checksums-Sha256:
 3101f69bfafa37124a9e2238107324e899ac7c88760b542fe416962ae4569c0c 3138 
e2fsprogs_1.47.4-1.dsc
 2cec05f39c20ee621f14926195664e66e6017190ac8e4bbdb16d86082e43c5da 10106395 
e2fsprogs_1.47.4.orig.tar.gz
 c5a4b6cbf8e57dd83d239b23f5e847ed32bedab005d90e3334889b0662383ac7 488 
e2fsprogs_1.47.4.orig.tar.gz.asc
 a288244fa6d7e1bbe11526417772e0c41b494e78372bbe275bd86aa8fdd6776c 94496 
e2fsprogs_1.47.4-1.debian.tar.xz
Files:
 1cfc211b9dd45a1776de0ede4c746ada 3138 admin important e2fsprogs_1.47.4-1.dsc
 733a93bc688314834ff2d10530ff4dc4 10106395 admin important 
e2fsprogs_1.47.4.orig.tar.gz
 cb87a4eb8dc53f0b36a7efc392eff7bb 488 admin important 
e2fsprogs_1.47.4.orig.tar.gz.asc
 8012a1bb3356b6b4df2f9b5fadbbf569 94496 admin important 
e2fsprogs_1.47.4-1.debian.tar.xz

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

iQEzBAEBCgAdFiEEK2m5VNv+CHkogTfJ8vlZVpUNgaMFAmmrNbsACgkQ8vlZVpUN
gaPBxAf/cFPXNar6vm2GwioGSfwJ0XiYLytdytC7JMhdTGNdI6wV3FxTP6XGNVVy
pbBcA7yw0uNczNtw2zSws1f3uzPh0LX+tn77l026fzBoIrVjpIuLXmcYXA5jLAUt
M1//wQcFtB50A7UpFRaT56LzzxpMv/4+XjoDhphB+BKHcsVN5Pw07jt61IL682PS
ygT80Pc47cqxNHRZI1xU4ZGC3YDCFXRSDrcL1U8+FZqEhafRiM8lHGd5UNByJhLg
H4t/ExWvUu+0TZ6TGD8e8s3zzr55w5TxkR81jjHpuQ3Nq3W/i2tOU2K91ytI2+Fz
qOXQtarWqXJ0K769ZWzvyDu1pc3uVQ==
=/1Ap
-----END PGP SIGNATURE-----

Attachment: pgprYgI0vcTQM.pgp
Description: PGP signature


--- End Message ---

Reply via email to