Skip to content

Commit

Permalink
make.globals: add bcachefs_effective.* and bcachefs.* to PORTAGE_XATT…
Browse files Browse the repository at this point in the history
…R_EXCLUDE

Just like btrfs the bcachefs filesystem makes heaviy use of xattrs.

In my case

emerge --config gentoo-kernel

failed with

install-xattr: setxattr() failed: Operation not supported

A strace revealed

setxattr("/boot/efi/8410476acd4b1e12c678fc815c18f551/6.9.5-gentoo-dist/linux",
"bcachefs_effective.background_co"..., "zstd", 4, 0) = -1 EOPNOTSUPP (Operation not supported)

and indeed, the source file to the install operation was under
/usr/src which had background compression enabled. As a result,
install-xattr tried to copy the attribute over to the destination file
and failed.

Signed-off-by: Florian Schmaus <[email protected]>
  • Loading branch information
Flowdalic committed Jun 18, 2024
1 parent 819c863 commit 7ef3469
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Bug fixes:
'globskipdots' by default. This is needed to avoid breaking existing
working ebuilds. Future EAPIs will need to adjust the logic
added by this change. See bug #907061.
* make.globals: dd bcachefs_effective.* and bcachefs.* to PORTAGE_XATTR_EXCLUDE

portage-3.0.65 (2024-06-04)
--------------
Expand Down
3 changes: 2 additions & 1 deletion cnf/make.globals
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ PORTAGE_TRUST_HELPER="/usr/bin/getuto"
# user.pax.* is supported with the patch from bug 470644.
PORTAGE_XATTR_EXCLUDE="btrfs.* security.evm security.ima
security.selinux system.nfs4_acl user.apache_handler
user.Beagle.* user.dublincore.* user.mime_encoding user.xdg.*"
user.Beagle.* user.dublincore.* user.mime_encoding user.xdg.*
bcachefs_effective.* bcachefs.*"

# *****************************
# ** DO NOT EDIT THIS FILE **
Expand Down

0 comments on commit 7ef3469

Please sign in to comment.