Bug 2237410 - getxattr() does not return ENOTSUP any longer for an invalid attribute
Summary: getxattr() does not return ENOTSUP any longer for an invalid attribute
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 39
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jeff Layton
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-09-05 11:34 UTC by Ondrej
Modified: 2024-11-27 21:29 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-11-27 21:29:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ondrej 2023-09-05 11:34:34 UTC
On previous systems (i.e. RHEL-8) the following call:

getxattr ("name", XATTR_NAME_POSIX_ACL_ACCESS, NULL, 0);

resulted in setting errno to ENOTSUP if  "name" was a file on NFSv4 filesystem.
on Fedora 39, it sets errno to ENODATA instead.

Is this change intentional or it's a regression (most likely).

Related thread:
https://lists.gnu.org/archive/html/bug-gnulib/2023-04/msg00228.html

Reproducible: Always

Steps to Reproduce:
Happens every time



Reproducible: Always

Comment 1 Aoife Moloney 2024-11-27 21:29:01 UTC
Fedora Linux 39 entered end-of-life (EOL) status on 2024-11-26.

Fedora Linux 39 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.