Description of problem:
kernel 4.18.0-358.el8 breaks the ceph client for clients with osd caps restricted to an osd namespace. This kernel was the first to enable async dirops by default; the issue was fixed by mounting with async dirops disabled (-owsync).
Details are in https://tracker.ceph.com/issues/54013
Version-Release number of selected component (if applicable):
Also reproduced with upstream kernel 5.16.2
How to reproduce:
Mount a ceph file share with caps like
key = xx==
caps mds = "allow rw path=/volumes/_nogroup/xxx"
caps mon = "allow r"
caps osd = "allow rw pool=cephfs_data namespace=fsvolumens_xxx"
Then try to untar a kernel, you'll get errors like
# tar xf linux-5.17-rc1.tar.gz 2>&1 | head
tar: linux-5.17-rc1/.get_maintainer.ignore: Cannot write: Operation not permitted
tar: linux-5.17-rc1/.gitattributes: Cannot write: Operation not permitted
tar: linux-5.17-rc1/.gitignore: Cannot write: Operation not permitted
This patch is the proposed fix: https://firstname.lastname@example.org/T/#u
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Important: kernel security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.