Skip to content

fsetxattr(system.nfs4_acl): Operation not supported on nfs4 exported bare repo #3501

Description

@srd424

Running ostree 2025.2 with a bare repo mounted over nfs4, I get:

error: Copy checkout of fa140202b184417a159f9c6bb5f1812df80af6ab7f07352caefb59eb1faf5c0f to binds:
Setting xattrs: fsetxattr(system.nfs4_acl): Operation not supported

I can't seem to find an option to disable this xattr in either the nfs client or server :(

Looking at the code involved I don't think anything has been touched since 2025.2. I'm not sure what the 'correct' fix is here, but I wondered if glnx_fd_set_all_xattrs could grow an option to only warn and not abort on EOPNOTSUPP as the quickest thing? Might be easier to pull that function into ostree and modify it there, it's really short: https://gitlab.gnome.org/GNOME/libglnx/-/blob/master/glnx-xattrs.c#L338

libostree:
 Version: '2025.2'
 Features:
  - inode64
  - initial-var
  - libcurl
  - libsoup3
  - gpgme
  - ex-fsverity
  - libarchive
  - selinux
  - sign-ed25519
  - libmount
  - systemd
  - release
  - p2p

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions