[Bugs] [Bug 1499890] New: md-cache uses incorrect xattr keynames for GF_POSIX_ACL keys

bugzilla at redhat.com bugzilla at redhat.com
Mon Oct 9 14:37:58 UTC 2017


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

            Bug ID: 1499890
           Summary: md-cache uses incorrect xattr keynames for
                    GF_POSIX_ACL keys
           Product: GlusterFS
           Version: 3.10
         Component: md-cache
          Assignee: bugs at gluster.org
          Reporter: gdeschner at redhat.com
                CC: bugs at gluster.org
        Depends On: 1476295
            Blocks: 1499889



+++ This bug was initially created as a clone of Bug #1476295 +++

Description of problem:

The caching of GF_POSIX_ACL_DEFAULT and GF_POSIX_ACL_ACCESS keys is not done
correctly because mdc_key_load_set() tries to enable the caching with an
inappropriate prefix.

"glusterfs.posix_acl." does not match "glusterfs.posix.acl" nor
"glusterfs.posix.default_acl"

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

--- Additional comment from Worker Ant on 2017-07-28 10:28:45 EDT ---

REVIEW: https://review.gluster.org/17909 (md-cache: Use correct xattr keynames
for virtual glusterfs ACLs.) posted (#1) for review on master by Günther
Deschner (gd at samba.org)

--- Additional comment from Worker Ant on 2017-07-29 16:54:29 EDT ---

COMMIT: https://review.gluster.org/17909 committed in master by Jeff Darcy
(jeff at pl.atyp.us) 
------
commit 5fe8555800cbc9818e7c976f63499795a378cd8d
Author: Günther Deschner <gd at samba.org>
Date:   Wed Jul 26 18:10:33 2017 +0200

    md-cache: Use correct xattr keynames for virtual glusterfs ACLs.

    The "glusterfs.posix_acl." prefix does not catch the glusterfs posix acl
    xattr keynames which are

        * "glusterfs.posix.acl" and
        * "glusterfs.posix.default_acl"

    Using the GF_POSIX_ACL_ACCESS and GF_POSIX_ACL_DEFAULT defines directly
    is the savest option.

    Guenther

    Change-Id: I5aba64b26b6cbec850ea02316dd9f069400e857f
    BUG: 1476295
    Signed-off-by: Guenther Deschner <gd at samba.org>
    Reviewed-on: https://review.gluster.org/17909
    Reviewed-by: Michael Adam <obnox at samba.org>
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Niels de Vos <ndevos at redhat.com>
    Tested-by: Niels de Vos <ndevos at redhat.com>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1476295
[Bug 1476295] md-cache uses incorrect xattr keynames for GF_POSIX_ACL keys
https://bugzilla.redhat.com/show_bug.cgi?id=1499889
[Bug 1499889] md-cache uses incorrect xattr keynames for GF_POSIX_ACL keys
-- 
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