Project

General

Profile

Actions

Bug #64542

closed
AC AC

Difference in error code returned while removing system xattrs using removexattr()

Bug #64542: Difference in error code returned while removing system xattrs using removexattr()

Added by Anoop C S almost 3 years ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Correctness/Safety
Target version:
Due date:
% Done:

100%

Source:
Backport:
quincy,reef,squid
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
libcephfs
Labels (FS):
Pull request ID:
Tags (freeform):
Fixed In:
v19.3.0-63-g8ffdab7633
Released In:
v20.2.0~3533
Upkeep Timestamp:
2025-11-01T01:11:51+00:00

Description

During removexattr() operation for those xattrs from "system." namespace, kernel client returns ENOTSUP in early stages whereas libcephfs allows it to pass through reporting the status accordingly as ENODATA among others. In fact it is the expectation as seen with local file systems like xfs, ext4 etc. There is also the special case with POSIX ACL xattrs where a removal attempt for 'system.posix_acl_access' or 'system.posix_acl_default' is always expected to complete successfully irrespective of whether those xattrs are present on files/directories. libcephfs fails to meet these expectations causing unexpected issues with test suites from integrations like Samba.


Related issues 3 (0 open — 3 closed)

Copied to CephFS - Backport #64564: quincy: Difference in error code returned while removing system xattrs using removexattr()RejectedVenky Shankar

Actions
Copied to CephFS - Backport #64565: reef: Difference in error code returned while removing system xattrs using removexattr()ResolvedVenky Shankar

Actions
Copied to CephFS - Backport #64566: squid: Difference in error code returned while removing system xattrs using removexattr()ResolvedVenky Shankar

Actions

VS Updated by Venky Shankar almost 3 years ago Actions #1

  • Status changed from New to Pending Backport
  • Assignee set to Anoop C S
  • Target version changed from v19.0.0 to v20.0.0
  • Backport changed from quincy, reef to quincy,reef,squid

UB Updated by Upkeep Bot almost 3 years ago Actions #2

  • Copied to Backport #64564: quincy: Difference in error code returned while removing system xattrs using removexattr() added

UB Updated by Upkeep Bot almost 3 years ago Actions #3

  • Copied to Backport #64565: reef: Difference in error code returned while removing system xattrs using removexattr() added

UB Updated by Upkeep Bot almost 3 years ago Actions #4

  • Copied to Backport #64566: squid: Difference in error code returned while removing system xattrs using removexattr() added

KS Updated by Konstantin Shalygin almost 2 years ago Actions #6

  • Status changed from Pending Backport to Resolved
  • % Done changed from 0 to 100

UB Updated by Upkeep Bot over 1 year ago Actions #7

  • Merge Commit set to 8ffdab763374c29194121bdc9c4f48e10cae0da1
  • Fixed In set to v19.3.0-63-g8ffdab76337
  • Upkeep Timestamp set to 2025-07-02T03:41:38+00:00

UB Updated by Upkeep Bot over 1 year ago Actions #8

  • Fixed In changed from v19.3.0-63-g8ffdab76337 to v19.3.0-63-g8ffdab7633
  • Upkeep Timestamp changed from 2025-07-02T03:41:38+00:00 to 2025-07-14T16:45:25+00:00

UB Updated by Upkeep Bot about 1 year ago Actions #9

  • Released In set to v20.2.0~3533
  • Upkeep Timestamp changed from 2025-07-14T16:45:25+00:00 to 2025-11-01T01:11:51+00:00
Actions

Also available in: PDF Atom