Project

General

Profile

Bug #45320

client: Other UID don't write permission when the file is marked with SUID or SGID

Added by huanwen ren 5 months ago. Updated 5 months ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
Tags:
Backport:
octopus,nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Client, ceph-fuse
Labels (FS):
Pull request ID:
Crash signature:

Description

The problem appears in the ceph-fuse mount,there is no problem with the kernel mount

Example:

[root@cephfs102 sky]# chmod 04777 star.txt
[root@cephfs102 sky]# ls -lh
total 512
-rwsrwxrwx 1 root root 4 Apr 29 17:51 star.txt
[root@cephfs102 sky]# su sky
[sky@cephfs102 sky]$ ls
star.txt
[sky@cephfs102 sky]$ echo "aaa">star.txt
bash: echo: write error: Operation not permitted

"04777" similar setuid

History

#1 Updated by huanwen ren 5 months ago

Client logļ¼š

020-04-18 17:36:41.911835 7f18e6af9700 20 client.4351080 _ll_get 0x7f1901e29180 0x10000000002 -> 129
2020-04-18 17:36:41.911993 7f18e6af9700  3 client.4351080 ll_lookup 0x10000000002.head 2345
2020-04-18 17:36:41.912003 7f18e6af9700 20 client.4351080 may_lookup 0x10000000002.head(faked_ino=0 ref=3 ll_ref=129 cap_refs={} open={} mode=44777 size=0/0 nlink=1 mtime=2020-04-18 17:35:49.983348 caps=pAsLsXsFs(0=pAsLsXsFs) COMPLETE parents=0x7f19022e0c00 0x7f1901e29180); UserPerm(uid: 1001, gid: 1001)
2020-04-18 17:36:41.912023 7f18e6af9700 10 client.4351080 _getattr mask As issued=1
2020-04-18 17:36:41.912027 7f18e6af9700  3 client.4351080 may_lookup 0x7f1901e29180 = 0
2020-04-18 17:36:41.912032 7f18e6af9700 20 client.4351080 _lookup have dn 2345 mds.0 ttl 2020-04-18 17:33:17.744384 seq 189
2020-04-18 17:36:41.912039 7f18e6af9700 15 inode.get on 0x7f1902360b00 0x100000007ee.head now 3
2020-04-18 17:36:41.912042 7f18e6af9700 10 client.4351080 _lookup 0x10000000002.head(faked_ino=0 ref=3 ll_ref=129 cap_refs={} open={} mode=44777 size=0/0 nlink=1 mtime=2020-04-18 17:35:49.983348 caps=pAsLsXsFs(0=pAsLsXsFs) COMPLETE parents=0x7f19022e0c00 0x7f1901e29180) 2345 = 0x100000007ee.head(faked_ino=0 ref=3 ll_ref=112 cap_refs={2048=0} open={1=0,2=0} mode=104777 size=0/4194304 nlink=1 mtime=2020-04-18 17:36:11.604958 caps=pAsLsXsFs(0=pAsLsXsFs) objectset[0x100000007ee ts 0/0 objects 0 dirty_or_tx 0] parents=0x7f19022e1080 0x7f1902360b00)
2020-04-18 17:36:41.912063 7f18e6af9700 10 client.4351080 fill_stat on 0x100000007ee snap/devhead mode 0104777 mtime 2020-04-18 17:36:11.604958 ctime 2020-04-18 17:36:11.604958
2020-04-18 17:36:41.912069 7f18e6af9700 20 client.4351080 _ll_get 0x7f1902360b00 0x100000007ee -> 113
2020-04-18 17:36:41.912070 7f18e6af9700  3 client.4351080 ll_lookup 0x10000000002.head 2345 -> 0 (100000007ee)
2020-04-18 17:36:41.912073 7f18e6af9700 10 client.4351080 put_inode on 0x100000007ee.head(faked_ino=0 ref=3 ll_ref=113 cap_refs={2048=0} open={1=0,2=0} mode=104777 size=0/4194304 nlink=1 mtime=2020-04-18 17:36:11.604958 caps=pAsLsXsFs(0=pAsLsXsFs) objectset[0x100000007ee ts 0/0 objects 0 dirty_or_tx 0] parents=0x7f19022e1080 0x7f1902360b00)
2020-04-18 17:36:41.912083 7f18e6af9700 15 inode.put on 0x7f1902360b00 0x100000007ee.head now 2
2020-04-18 17:36:41.912094 7f18e6af9700  8 client.4351080 ll_forget 0x10000000002 1
2020-04-18 17:36:41.912097 7f18e6af9700 20 client.4351080 _ll_put 0x7f1901e29180 0x10000000002 1 -> 128
2020-04-18 17:36:41.912177 7f18e72fa700 20 client.4351080 _ll_get 0x7f1902360b00 0x100000007ee -> 114
2020-04-18 17:36:41.912305 7f18e72fa700  3 client.4351080 ll_open 0x100000007ee.head 513
2020-04-18 17:36:41.912310 7f18e72fa700 20 client.4351080 may_open 0x100000007ee.head(faked_ino=0 ref=2 ll_ref=114 cap_refs={2048=0} open={1=0,2=0} mode=104777 size=0/4194304 nlink=1 mtime=2020-04-18 17:36:11.604958 caps=pAsLsXsFs(0=pAsLsXsFs) objectset[0x100000007ee ts 0/0 objects 0 dirty_or_tx 0] parents=0x7f19022e1080 0x7f1902360b00); UserPerm(uid: 1001, gid: 1001)
2020-04-18 17:36:41.912324 7f18e72fa700 10 client.4351080 _getattr mask As issued=1
2020-04-18 17:36:41.912326 7f18e72fa700  3 client.4351080 may_open 0x7f1902360b00 = 0
2020-04-18 17:36:41.912333 7f18e72fa700 10 break_deleg: breaking delegs on 0x100000007ee.head(faked_ino=0 ref=2 ll_ref=114 cap_refs={2048=0} open={1=0,2=1} mode=104777 size=0/4194304 nlink=1 mtime=2020-04-18 17:36:11.604958 caps=pAsLsXsFs(0=pAsLsXsFs) objectset[0x100000007ee ts 0/0 objects 0 dirty_or_tx 0] parents=0x7f19022e1080 0x7f1902360b00)
2020-04-18 17:36:41.912342 7f18e72fa700 10 delegations_broken: delegations empty on 0x100000007ee.head(faked_ino=0 ref=2 ll_ref=114 cap_refs={2048=0} open={1=0,2=1} mode=104777 size=0/4194304 nlink=1 mtime=2020-04-18 17:36:11.604958 caps=pAsLsXsFs(0=pAsLsXsFs) objectset[0x100000007ee ts 0/0 objects 0 dirty_or_tx 0] parents=0x7f19022e1080 0x7f1902360b00)
2020-04-18 17:36:41.912352 7f18e72fa700 15 inode.get on 0x7f1902360b00 0x100000007ee.head now 3
2020-04-18 17:36:41.912355 7f18e72fa700 20 client.4351080 choose_target_mds starting with req->inode 0x100000007ee.head(faked_ino=0 ref=3 ll_ref=114 cap_refs={2048=0} open={1=0,2=1} mode=104777 size=0/4194304 nlink=1 mtime=2020-04-18 17:36:11.604958 caps=pAsLsXsFs(0=pAsLsXsFs) objectset[0x100000007ee ts 0/0 objects 0 dirty_or_tx 0] parents=0x7f19022e1080 0x7f1902360b00)
2020-04-18 17:36:41.912364 7f18e72fa700 20 client.4351080 choose_target_mds 0x100000007ee.head(faked_ino=0 ref=3 ll_ref=114 cap_refs={2048=0} open={1=0,2=1} mode=104777 size=0/4194304 nlink=1 mtime=2020-04-18 17:36:11.604958 caps=pAsLsXsFs(0=pAsLsXsFs) objectset[0x100000007ee ts 0/0 objects 0 dirty_or_tx 0] parents=0x7f19022e1080 0x7f1902360b00) is_hash=0 hash=0
2020-04-18 17:36:41.912382 7f18e72fa700 10 client.4351080 choose_target_mds from caps on inode 0x100000007ee.head(faked_ino=0 ref=3 ll_ref=114 cap_refs={2048=0} open={1=0,2=1} mode=104777 size=0/4194304 nlink=1 mtime=2020-04-18 17:36:11.604958 caps=pAsLsXsFs(0=pAsLsXsFs) objectset[0x100000007ee ts 0/0 objects 0 dirty_or_tx 0] parents=0x7f19022e1080 0x7f1902360b00)
2020-04-18 17:36:41.912391 7f18e72fa700 20 client.4351080 mds is 0
2020-04-18 17:36:41.912394 7f18e72fa700 10 client.4351080 send_request rebuilding request 504 for mds.0
2020-04-18 17:36:41.912398 7f18e72fa700 20 client.4351080 encode_cap_releases enter (req: 0x7f19022cd600, mds: 0)
2020-04-18 17:36:41.912400 7f18e72fa700 20 client.4351080 send_request set sent_stamp to 2020-04-18 17:36:41.912400
2020-04-18 17:36:41.912405 7f18e72fa700 10 client.4351080 send_request client_request(unknown.0:504 open #0x100000007ee 2020-04-18 17:36:41.912353 caller_uid=1001, caller_gid=1001{0,1001,}) v4 to mds.0
2020-04-18 17:36:41.912446 7f18e72fa700 20 client.4351080 awaiting reply|forward|kick on 0x7f18e72f8de0
2020-04-18 17:36:41.913063 7f18ed306700 10 client.4351080  mds.0 seq now 500
2020-04-18 17:36:41.913078 7f18ed306700  5 client.4351080 handle_cap_grant on in 0x100000007ee mds.0 seq 68 caps now pAsLsXs was pAsLsXsFs (stale)
2020-04-18 17:36:41.913086 7f18ed306700 10 client.4351080 update_inode_file_time 0x100000007ee.head(faked_ino=0 ref=3 ll_ref=114 cap_refs={2048=0} open={1=0,2=1} mode=104777 size=0/4194304 nlink=1 mtime=2020-04-18 17:36:11.604958 caps=pAsLsXsFs(0=pAsLsXsFs) objectset[0x100000007ee ts 0/0 objects 0 dirty_or_tx 0] parents=0x7f19022e1080 0x7f1902360b00) pAsLsXsFs ctime 2020-04-18 17:36:11.604958 mtime 2020-04-18 17:36:11.604958
2020-04-18 17:36:41.913103 7f18ed306700 10 client.4351080   revocation of Fs
2020-04-18 17:36:41.913106 7f18ed306700 10 client.4351080 check_caps on 0x100000007ee.head(faked_ino=0 ref=3 ll_ref=114 cap_refs={2048=0} open={1=0,2=1} mode=104777 size=0/4194304 nlink=1 mtime=2020-04-18 17:36:11.604958 caps=pAsLsXs(0=pAsLsXs) objectset[0x100000007ee ts 0/0 objects 0 dirty_or_tx 0] parents=0x7f19022e1080 0x7f1902360b00) wanted pAsxXsxFxwb used - issued pAsLsXs revoking Fs flags=0
2020-04-18 17:36:41.913132 7f18ed306700 10 client.4351080 cap_delay_requeue on 0x100000007ee.head(faked_ino=0 ref=3 ll_ref=114 cap_refs={2048=0} open={1=0,2=1} mode=104777 size=0/4194304 nlink=1 mtime=2020-04-18 17:36:11.604958 caps=pAsLsXs(0=pAsLsXs) objectset[0x100000007ee ts 0/0 objects 0 dirty_or_tx 0] parents=0x7f19022e1080 0x7f1902360b00)
2020-04-18 17:36:41.913143 7f18ed306700 10 client.4351080  cap mds.0 issued pAsLsXs implemented pAsLsXsFs revoking Fs
2020-04-18 17:36:41.913147 7f18ed306700 10 client.4351080 completed revocation of Fs
2020-04-18 17:36:41.913150 7f18ed306700 10 client.4351080 send_cap 0x100000007ee.head(faked_ino=0 ref=3 ll_ref=114 cap_refs={2048=0} open={1=0,2=1} mode=104777 size=0/4194304 nlink=1 mtime=2020-04-18 17:36:11.604958 caps=pAsLsXs(0=pAsLsXs) objectset[0x100000007ee ts 0/0 objects 0 dirty_or_tx 0] parents=0x7f19022e1080 0x7f1902360b00) mds.0 seq 68 async  used - want pAsxXsxFxwb flush - retain pAsxLsxXsxFxcrwbl held pAsLsXsFs revoking Fs dropping -
2020-04-18 17:36:41.913169 7f18ed306700 15 client.4351080 auth cap, setting max_size = 0
2020-04-18 17:36:41.913791 7f18ed306700 20 client.4351080 handle_client_reply got a reply. Safe:0 tid 504
2020-04-18 17:36:41.913803 7f18ed306700 10 client.4351080 insert_trace from 2020-04-18 17:36:41.912400 mds.0 is_target=1 is_dentry=0
2020-04-18 17:36:41.913811 7f18ed306700 10 client.4351080  features 0x3ffddff8eeacfffb
2020-04-18 17:36:41.913813 7f18ed306700 10 client.4351080 update_snap_trace len 48
2020-04-18 17:36:41.913816 7f18ed306700 20 client.4351080 get_snap_realm 0x1 0x7f1901c90d00 13 -> 14
2020-04-18 17:36:41.913819 7f18ed306700 10 client.4351080 update_snap_trace snaprealm(0x1 nref=14 c=0 seq=1 parent=0x0 my_snaps=[] cached_snapc=1=[]) seq 1 <= 1 and same parent, SKIPPING
2020-04-18 17:36:41.913823 7f18ed306700 10 client.4351080  hrm  is_target=1 is_dentry=0
2020-04-18 17:36:41.913830 7f18ed306700 12 client.4351080 add_update_inode had 0x100000007ee.head(faked_ino=0 ref=3 ll_ref=114 cap_refs={2048=0} open={1=0,2=1} mode=104777 size=0/4194304 nlink=1 mtime=2020-04-18 17:36:11.604958 caps=pAsLsXs(0=pAsLsXs) objectset[0x100000007ee ts 0/0 objects 0 dirty_or_tx 0] parents=0x7f19022e1080 0x7f1902360b00) caps pAsxLsXsxFscb
2020-04-18 17:36:41.913845 7f18ed306700 10 client.4351080 update_inode_file_time 0x100000007ee.head(faked_ino=0 ref=3 ll_ref=114 cap_refs={2048=0} open={1=0,2=1} mode=104777 size=0/4194304 nlink=1 mtime=2020-04-18 17:36:11.604958 caps=pAsLsXs(0=pAsLsXs) objectset[0x100000007ee ts 0/0 objects 0 dirty_or_tx 0] parents=0x7f19022e1080 0x7f1902360b00) pAsLsXs ctime 2020-04-18 17:36:41.912353 mtime 2020-04-18 17:36:41.912353
2020-04-18 17:36:41.913867 7f18ed306700 10 client.4351080 add_update_cap issued pAsLsXs -> pAsxLsXsxFscb from mds.0 on 0x100000007ee.head(faked_ino=0 ref=3 ll_ref=114 cap_refs={2048=0} open={1=0,2=1} mode=104777 size=0/4194304 nlink=1 mtime=2020-04-18 17:36:41.912353 caps=pAsxLsXsxFscb(0=pAsxLsXsxFscb) objectset[0x100000007ee ts 0/0 objects 0 dirty_or_tx 0] parents=0x7f19022e1080 0x7f1902360b00)
2020-04-18 17:36:41.913884 7f18ed306700 20 client.4351080 put_snap_realm 0x1 0x7f1901c90d00 14 -> 13
2020-04-18 17:36:41.913886 7f18ed306700 15 inode.get on 0x7f1902360b00 0x100000007ee.head now 4
2020-04-18 17:36:41.913890 7f18ed306700 20 client.4351080 handle_client_reply signalling caller 0x7f18e72f8de0
2020-04-18 17:36:41.913894 7f18ed306700 20 client.4351080 handle_client_reply awaiting kickback on tid 504 0x7f18ed304cc0
2020-04-18 17:36:41.913915 7f18e72fa700 20 client.4351080 sendrecv kickback on tid 504 0x7f18ed304cc0
2020-04-18 17:36:41.913921 7f18e72fa700 20 client.4351080 lat 0.001520
2020-04-18 17:36:41.913925 7f18e72fa700 15 inode.get on 0x7f1902360b00 0x100000007ee.head now 5
2020-04-18 17:36:41.913931 7f18e72fa700 10 client.4351080 _create_fh 0x100000007ee mode 2
2020-04-18 17:36:41.913935 7f18e72fa700 20 client.4351080 trim_cache size 37 max 16384
2020-04-18 17:36:41.913938 7f18e72fa700  3 client.4351080 ll_open 0x100000007ee.head 513 = 0 (0x7f1902198340)
2020-04-18 17:36:41.913946 7f18e72fa700  8 client.4351080 ll_forget 0x100000007ee 1
2020-04-18 17:36:41.913948 7f18e72fa700 20 client.4351080 _ll_put 0x7f1902360b00 0x100000007ee 1 -> 113
2020-04-18 17:36:41.914003 7f18e8afd700 20 client.4351080 _ll_get 0x7f1902360b00 0x100000007ee -> 114
2020-04-18 17:36:41.914130 7f18e8afd700  3 client.4351080 ll_removexattr 0x100000007ee.head security.ima
2020-04-18 17:36:41.914142 7f18e8afd700 10 client.4351080 _getattr mask As issued=1
2020-04-18 17:36:41.914146 7f18e8afd700  5 client.4351080 xattr_permission 0x7f1902360b00 = 0
2020-04-18 17:36:41.914150 7f18e8afd700 15 inode.get on 0x7f1902360b00 0x100000007ee.head now 6
2020-04-18 17:36:41.914153 7f18e8afd700 20 client.4351080 choose_target_mds starting with req->inode 0x100000007ee.head(faked_ino=0 ref=6 ll_ref=114 cap_refs={2048=0} open={1=0,2=1} mode=104777 size=0/0 nlink=1 mtime=2020-04-18 17:36:41.912353 caps=pAsxLsXsxFscb(0=pAsxLsXsxFscb) objectset[0x100000007ee ts 0/0 objects 0 dirty_or_tx 0] parents=0x7f19022e1080 0x7f1902360b00)
2020-04-18 17:36:41.914167 7f18e8afd700 20 client.4351080 choose_target_mds 0x100000007ee.head(faked_ino=0 ref=6 ll_ref=114 cap_refs={2048=0} open={1=0,2=1} mode=104777 size=0/0 nlink=1 mtime=2020-04-18 17:36:41.912353 caps=pAsxLsXsxFscb(0=pAsxLsXsxFscb) objectset[0x100000007ee ts 0/0 objects 0 dirty_or_tx 0] parents=0x7f19022e1080 0x7f1902360b00) is_hash=0 hash=0
2020-04-18 17:36:41.914177 7f18e8afd700 10 client.4351080 choose_target_mds from caps on inode 0x100000007ee.head(faked_ino=0 ref=6 ll_ref=114 cap_refs={2048=0} open={1=0,2=1} mode=104777 size=0/0 nlink=1 mtime=2020-04-18 17:36:41.912353 caps=pAsxLsXsxFscb(0=pAsxLsXsxFscb) objectset[0x100000007ee ts 0/0 objects 0 dirty_or_tx 0] parents=0x7f19022e1080 0x7f1902360b00)
2020-04-18 17:36:41.914186 7f18e8afd700 20 client.4351080 mds is 0
2020-04-18 17:36:41.914189 7f18e8afd700 10 client.4351080 send_request rebuilding request 505 for mds.0
2020-04-18 17:36:41.914192 7f18e8afd700 20 client.4351080 encode_cap_releases enter (req: 0x7f190217e000, mds: 0)
2020-04-18 17:36:41.914194 7f18e8afd700 20 client.4351080 send_request set sent_stamp to 2020-04-18 17:36:41.914194
2020-04-18 17:36:41.914198 7f18e8afd700 10 client.4351080 send_request client_request(unknown.0:505 rmxattr #0x100000007ee security.ima 2020-04-18 17:36:41.914152 caller_uid=1001, caller_gid=1001{0,1001,}) v4 to mds.0
2020-04-18 17:36:41.914211 7f18e8afd700 20 client.4351080 awaiting reply|forward|kick on 0x7f18e8afbe50
2020-04-18 17:36:41.914724 7f18ed306700 10 client.4351080  mds.0 seq now 501
2020-04-18 17:36:41.914739 7f18ed306700  5 client.4351080 handle_cap_grant on in 0x100000007ee mds.0 seq 70 caps now pAsxLsFscb was pAsxLsXsxFscb (stale)
2020-04-18 17:36:41.914746 7f18ed306700 10 client.4351080 update_inode_file_time 0x100000007ee.head(faked_ino=0 ref=6 ll_ref=114 cap_refs={2048=0} open={1=0,2=1} mode=104777 size=0/0 nlink=1 mtime=2020-04-18 17:36:41.912353 caps=pAsxLsXsxFscb(0=pAsxLsXsxFscb) objectset[0x100000007ee ts 0/0 objects 0 dirty_or_tx 0] parents=0x7f19022e1080 0x7f1902360b00) pAsxLsXsxFscb ctime 2020-04-18 17:36:41.912353 mtime 2020-04-18 17:36:41.912353
2020-04-18 17:36:41.914763 7f18ed306700 10 client.4351080   revocation of Xsx
2020-04-18 17:36:41.914766 7f18ed306700 10 client.4351080 check_caps on 0x100000007ee.head(faked_ino=0 ref=6 ll_ref=114 cap_refs={2048=0} open={1=0,2=1} mode=104777 size=0/0 nlink=1 mtime=2020-04-18 17:36:41.912353 caps=pAsxLsFscb(0=pAsxLsFscb) objectset[0x100000007ee ts 0/0 objects 0 dirty_or_tx 0] parents=0x7f19022e1080 0x7f1902360b00) wanted pAsxXsxFxwb used - issued pAsxLsFscb revoking Xsx flags=0
2020-04-18 17:36:41.914779 7f18ed306700 10 client.4351080 cap_delay_requeue on 0x100000007ee.head(faked_ino=0 ref=6 ll_ref=114 cap_refs={2048=0} open={1=0,2=1} mode=104777 size=0/0 nlink=1 mtime=2020-04-18 17:36:41.912353 caps=pAsxLsFscb(0=pAsxLsFscb) objectset[0x100000007ee ts 0/0 objects 0 dirty_or_tx 0] parents=0x7f19022e1080 0x7f1902360b00)
2020-04-18 17:36:41.914789 7f18ed306700 10 client.4351080  cap mds.0 issued pAsxLsFscb implemented pAsxLsXsxFscb revoking Xsx
2020-04-18 17:36:41.914794 7f18ed306700 10 client.4351080 completed revocation of Xsx
2020-04-18 17:36:41.914796 7f18ed306700 10 client.4351080 send_cap 0x100000007ee.head(faked_ino=0 ref=6 ll_ref=114 cap_refs={2048=0} open={1=0,2=1} mode=104777 size=0/0 nlink=1 mtime=2020-04-18 17:36:41.912353 caps=pAsxLsFscb(0=pAsxLsFscb) objectset[0x100000007ee ts 0/0 objects 0 dirty_or_tx 0] parents=0x7f19022e1080 0x7f1902360b00) mds.0 seq 70 async  used - want pAsxXsxFxwb flush - retain pAsxLsxFsxcrwbl held pAsxLsXsxFscb revoking Xsx dropping -
2020-04-18 17:36:41.914816 7f18ed306700 15 client.4351080 auth cap, setting max_size = 0
2020-04-18 17:36:41.916012 7f18ed306700 10 client.4351080  mds.0 seq now 502
2020-04-18 17:36:41.916022 7f18ed306700  5 client.4351080 handle_cap_grant on in 0x100000007ee mds.0 seq 71 caps now pAsxLsXsxFscb was pAsxLsFscb (stale)
2020-04-18 17:36:41.916029 7f18ed306700 10 client.4351080 update_inode_file_time 0x100000007ee.head(faked_ino=0 ref=6 ll_ref=114 cap_refs={2048=0} open={1=0,2=1} mode=104777 size=0/0 nlink=1 mtime=2020-04-18 17:36:41.912353 caps=pAsxLsFscb(0=pAsxLsFscb) objectset[0x100000007ee ts 0/0 objects 0 dirty_or_tx 0] parents=0x7f19022e1080 0x7f1902360b00) pAsxLsFscb ctime 2020-04-18 17:36:41.912353 mtime 2020-04-18 17:36:41.912353
2020-04-18 17:36:41.916046 7f18ed306700 10 client.4351080   grant, new caps are Xsx
2020-04-18 17:36:41.916052 7f18ed306700 20 client.4351080 handle_client_reply got a reply. Safe:1 tid 505
2020-04-18 17:36:41.916054 7f18ed306700 10 client.4351080 insert_trace from 2020-04-18 17:36:41.914194 mds.0 is_target=0 is_dentry=0
2020-04-18 17:36:41.916059 7f18ed306700 10 client.4351080 insert_trace -- no trace
2020-04-18 17:36:41.916061 7f18ed306700 20 client.4351080 handle_client_reply signalling caller 0x7f18e8afbe50
2020-04-18 17:36:41.916065 7f18ed306700 20 client.4351080 handle_client_reply awaiting kickback on tid 505 0x7f18ed304cc0
2020-04-18 17:36:41.916070 7f18e8afd700 20 client.4351080 sendrecv kickback on tid 505 0x7f18ed304cc0
2020-04-18 17:36:41.916072 7f18e8afd700 20 client.4351080 lat 0.001878
2020-04-18 17:36:41.916075 7f18e8afd700 20 client.4351080 trim_cache size 37 max 16384
2020-04-18 17:36:41.916077 7f18e8afd700  8 client.4351080 _removexattr(0x100000007ee, "security.ima") = -61
2020-04-18 17:36:41.916085 7f18e8afd700  8 client.4351080 ll_forget 0x100000007ee 1
2020-04-18 17:36:41.916087 7f18e8afd700 20 client.4351080 _ll_put 0x7f1902360b00 0x100000007ee 1 -> 113
2020-04-18 17:36:41.916108 7f18ed306700 10 client.4351080 put_inode on 0x100000007ee.head(faked_ino=0 ref=6 ll_ref=113 cap_refs={2048=0} open={1=0,2=1} mode=104777 size=0/0 nlink=1 mtime=2020-04-18 17:36:41.912353 caps=pAsxLsXsxFscb(0=pAsxLsXsxFscb) objectset[0x100000007ee ts 0/0 objects 0 dirty_or_tx 0] parents=0x7f19022e1080 0x7f1902360b00)
2020-04-18 17:36:41.916135 7f18ed306700 15 inode.put on 0x7f1902360b00 0x100000007ee.head now 5
2020-04-18 17:36:41.916147 7f18e7afb700  3 client.4351080 ll_flush 0x7f1902198340 0x100000007ee
2020-04-18 17:36:41.916150 7f18e7afb700 10 client.4351080 _flush: 0x7f1902198340 on inode 0x100000007ee.head(faked_ino=0 ref=5 ll_ref=113 cap_refs={2048=0} open={1=0,2=1} mode=104777 size=0/0 nlink=1 mtime=2020-04-18 17:36:41.912353 caps=pAsxLsXsxFscb(0=pAsxLsXsxFscb) objectset[0x100000007ee ts 0/0 objects 0 dirty_or_tx 0] parents=0x7f19022e1080 0x7f1902360b00) no async_err state
2020-04-18 17:36:41.916188 7f18e82fc700 20 client.4351080 _ll_get 0x7f1902360b00 0x100000007ee -> 114
2020-04-18 17:36:41.916304 7f18e82fc700  3 client.4351080 ll_getxattr 0x100000007ee.head security.capability size 0
2020-04-18 17:36:41.916316 7f18e82fc700 10 client.4351080 _getattr mask As issued=1
2020-04-18 17:36:41.916320 7f18e82fc700  5 client.4351080 xattr_permission 0x7f1902360b00 = 0
2020-04-18 17:36:41.916322 7f18e82fc700 10 client.4351080 _getattr mask Xs issued=1
2020-04-18 17:36:41.916324 7f18e82fc700  8 client.4351080 _getxattr(0x100000007ee, "security.capability", 0) = -61
2020-04-18 17:36:41.916331 7f18e82fc700  8 client.4351080 ll_forget 0x100000007ee 1
2020-04-18 17:36:41.916333 7f18e82fc700 20 client.4351080 _ll_put 0x7f1902360b00 0x100000007ee 1 -> 113
2020-04-18 17:36:41.916380 7f18e6af9700 20 client.4351080 _ll_get 0x7f1902360b00 0x100000007ee -> 114
2020-04-18 17:36:41.916511 7f18e6af9700 15 inode.get on 0x7f1902360b00 0x100000007ee.head now 6
2020-04-18 17:36:41.916514 7f18e6af9700  8 client.4351080 ll_setattrx 0x100000007ee.head mask 1
2020-04-18 17:36:41.916517 7f18e6af9700 20 client.4351080 may_setattr 0x100000007ee.head(faked_ino=0 ref=6 ll_ref=114 cap_refs={2048=0} open={1=0,2=1} mode=104777 size=0/0 nlink=1 mtime=2020-04-18 17:36:41.912353 caps=pAsxLsXsxFscb(0=pAsxLsXsxFscb) objectset[0x100000007ee ts 0/0 objects 0 dirty_or_tx 0] parents=0x7f19022e1080 0x7f1902360b00); UserPerm(uid: 1001, gid: 1001)
2020-04-18 17:36:41.916531 7f18e6af9700 10 client.4351080 _getattr mask As issued=1
2020-04-18 17:36:41.916547 7f18e6af9700  3 client.4351080 may_setattr 0x7f1902360b00 = -1
2020-04-18 17:36:41.916549 7f18e6af9700  3 client.4351080 ll_setattr 0x100000007ee.head = -1

#2 Updated by huanwen ren 5 months ago

may_setattr 0x7f1902360b00 = -1

#3 Updated by huanwen ren 5 months ago

  • Pull request ID set to 34821

#4 Updated by Varsha Rao 5 months ago

  • Status changed from New to Fix Under Review

#5 Updated by Patrick Donnelly 5 months ago

  • Assignee set to huanwen ren
  • Target version changed from v12.2.12 to v16.0.0
  • Backport set to octopus,nautilus

Also available in: Atom PDF