Bug 1051896
Summary: | setfacl with "invalid argument" will return 0, not return EINVAL in glusterfs | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Vijay Bellur <vbellur> |
Component: | access-control | Assignee: | Vijay Bellur <vbellur> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | mainline | CC: | aavati, ashetty, bugs, gluster-bugs, ndevos, surs, zlang |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.6.0beta1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 1039631 | Environment: | |
Last Closed: | 2014-11-11 08:26:52 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: | 1039631 | ||
Bug Blocks: |
Description
Vijay Bellur
2014-01-12 17:47:35 UTC
REVIEW: http://review.gluster.org/6684 (storage/posix: UNWIND right op_error and op_errno in *setxattr()) posted (#1) for review on master by Vijay Bellur (vbellur) COMMIT: http://review.gluster.org/6684 committed in master by Anand Avati (avati) ------ commit 3af42583dd804371952d61e9d7ff4c640e67ba0d Author: Vijay Bellur <vbellur> Date: Sun Jan 12 22:39:14 2014 +0530 storage/posix: UNWIND right op_error and op_errno in *setxattr() 1. errno was being set after gf_log() in posix_{f}handle_pair, this would cause errno to be overwritten. 2. dht would expect -1 for indication of failure in setxattr callback (dht_err_cbk()). posix_{f}setxattr has been changed to set op_ret as -1 instead of -op_errno. 3. dict_foreach() has been changed to return an error if the invoked fn() returns < 0. Bug report and test case credits to Zorro Lang <zlang> Change-Id: I96c15f12a5d7717b7584ba392f390a0b4f704a98 BUG: 1051896 Signed-off-by: Vijay Bellur <vbellur> Reviewed-on: http://review.gluster.org/6684 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Niels de Vos <ndevos> Reviewed-by: Anand Avati <avati> A beta release for GlusterFS 3.6.0 has been released. Please verify if the release solves this bug report for you. In case the glusterfs-3.6.0beta1 release does not have a resolution for this issue, leave a comment in this bug and move the status to ASSIGNED. If this release fixes the problem for you, leave a note and change the status to VERIFIED. Packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update (possibly an "updates-testing" repository) infrastructure for your distribution. [1] http://supercolony.gluster.org/pipermail/gluster-users/2014-September/018836.html [2] http://supercolony.gluster.org/pipermail/gluster-users/ 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.6.1, please reopen this bug report. glusterfs-3.6.1 has been announced [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://supercolony.gluster.org/pipermail/gluster-users/2014-November/019410.html [2] http://supercolony.gluster.org/mailman/listinfo/gluster-users I just tested on glusterfs-3.6.1-1 (upstream): http://download.gluster.org/pub/gluster/glusterfs/3.6/3.6.1/RHEL/epel-6.6/x86_64/ pjd-fstest xacl/06.t all pass. |