Bug 1242030

Summary: nfs-ganesha: bricks crash while executing acl related operation for named group/user
Product: [Community] GlusterFS Reporter: Jiffin <jthottan>
Component: posixAssignee: Jiffin <jthottan>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: unspecified    
Version: mainlineCC: ansubram, gluster-bugs, jthottan, kkeithle, ndevos, nlevinki, saujain, skoduri, storage-qa-internal, vagarwal
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.8rc2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1241839
: 1242031 (view as bug list) Environment:
Last Closed: 2016-06-16 13:22:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1241839    
Bug Blocks:    

Comment 1 Anand Avati 2015-07-10 17:59:49 UTC
REVIEW: http://review.gluster.org/11626 (features/posix : Avoid double free of a variable in posix_setxattr()) posted (#1) for review on release-3.7 by jiffin tony Thottan (jthottan)

Comment 2 Anand Avati 2015-07-10 18:03:17 UTC
REVIEW: http://review.gluster.org/11627 (features/posix : Avoid double free of a variable in posix_setxattr()) posted (#1) for review on master by jiffin tony Thottan (jthottan)

Comment 3 Anand Avati 2015-07-11 18:54:00 UTC
REVIEW: http://review.gluster.org/11627 (features/posix : Avoid double free of a variable in posix_setxattr()) posted (#2) for review on master by jiffin tony Thottan (jthottan)

Comment 4 Anand Avati 2015-07-12 05:37:50 UTC
REVIEW: http://review.gluster.org/11627 (features/posix : Avoid double free of a variable in posix_setxattr()) posted (#3) for review on master by jiffin tony Thottan (jthottan)

Comment 5 Anand Avati 2015-07-12 19:48:32 UTC
COMMIT: http://review.gluster.org/11627 committed in master by Kaleb KEITHLEY (kkeithle) 
------
commit 3a6b3dae15bba00860c3323ff8867c4845b877d6
Author: Jiffin Tony Thottan <jthottan>
Date:   Fri Jul 10 23:12:28 2015 +0530

    features/posix : Avoid double free of a variable in posix_setxattr()
    
    The buffer acl_xattr is introduced in posix_setxattr() as part of
    http://review.gluster.org/#/c/11519/. This variable can be freed
    twice in the code path , one in dict_unref() and another by explicit
    GF_FREE() call in the code. This patch avoids the same.
    
    Change-Id: I31c6384e37ab8d8baaed7a53de668c2eb5d82338
    BUG: 1242030
    Signed-off-by: Jiffin Tony Thottan <jthottan>
    Reviewed-on: http://review.gluster.org/11627
    Tested-by: NetBSD Build System <jenkins.org>
    Reviewed-by: soumya k <skoduri>
    Reviewed-by: Niels de Vos <ndevos>
    Reviewed-by: Kaleb KEITHLEY <kkeithle>
    Tested-by: Gluster Build System <jenkins.com>

Comment 6 Nagaprasad Sathyanarayana 2015-10-25 14:44:08 UTC
Fix for this BZ is already present in a GlusterFS release. You can find clone of this BZ, fixed in a GlusterFS release and closed. Hence closing this mainline BZ as well.

Comment 7 Niels de Vos 2016-06-16 13:22:53 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.8.0, please open a new bug report.

glusterfs-3.8.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://blog.gluster.org/2016/06/glusterfs-3-8-released/
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user