[Bugs] [Bug 1430996] New: Write-behind doesn' t pass the application credentials while syncing cached writes

bugzilla at redhat.com bugzilla at redhat.com
Fri Mar 10 05:13:43 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1430996

            Bug ID: 1430996
           Summary: Write-behind doesn't pass the application credentials
                    while syncing cached writes
           Product: GlusterFS
           Version: mainline
         Component: write-behind
          Assignee: bugs at gluster.org
          Reporter: rgowdapp at redhat.com
                CC: bugs at gluster.org



Description of problem: It is not copying uid, pid, gid, ngroups, lk_owner,
groups_large, groups, groups_small (various fields in call_stack/frame->root)
etc during wb_fulfill. This is because wb_fulfill creates a new frame and a new
frame created will have 0 set for all of these fields. This can result in
various authentication mismatches by xlators like posix-acl etc. Note that
these credentials have to be copied from frame->root to request as the original
frame/call-stack might've been unwound and need not be alive at the time of
wb_fulfill. One such issue can be seen in bz 1430608.

Another interesting fact to be looked at is that while collapsing multiple
small writes into a single large holder, we should check for compatibility of
these attributes across the requests that are collapsed.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list