Bug 1043886
| Summary: | [RFE] Add two more options in `gluster volume set` command server.anonuid and server.anongid | |||
|---|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Vikhyat Umrao <vumrao> | |
| Component: | rpc | Assignee: | Niels de Vos <ndevos> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | ||
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | pre-release | CC: | bugs, earl, gluster-bugs, nsathyan | |
| Target Milestone: | --- | Keywords: | FutureFeature | |
| Target Release: | --- | |||
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | glusterfs-3.6.0beta1 | Doc Type: | Enhancement | |
| Doc Text: |
Feature:
Two more options in `gluster volume set` command server.anonuid and server.anongid
Reason:
For setting anonymous user uid and gid to a specific user uid and gid
Result (if any):
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1043915 (view as bug list) | Environment: | ||
| Last Closed: | 2014-11-11 08:25:45 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: | ||||
| Bug Blocks: | 1043915 | |||
|
Description
Vikhyat Umrao
2013-12-17 12:05:23 UTC
REVIEW: http://review.gluster.org/6546 (rpc/server: add anonuid and anongid options for root-squash) posted (#1) for review on master by Niels de Vos (ndevos) REVIEW: http://review.gluster.org/6546 (rpc/server: add anonuid and anongid options for root-squash) posted (#2) for review on master by Niels de Vos (ndevos) REVIEW: http://review.gluster.org/6546 (rpc/server: add anonuid and anongid options for root-squash) posted (#3) for review on master by Niels de Vos (ndevos) REVIEW: http://review.gluster.org/6546 (rpc/server: add anonuid and anongid options for root-squash) posted (#4) for review on master by Niels de Vos (ndevos) COMMIT: http://review.gluster.org/6546 committed in master by Vijay Bellur (vbellur) ------ commit 7e3dd526c62b3a1bb59945efdfed2c2fbbcf9cf9 Author: Niels de Vos <ndevos> Date: Mon Dec 23 12:53:32 2013 +0100 rpc/server: add anonuid and anongid options for root-squash Introduce new options to modify the behaviour of server.root-squash. With server.anonuid and server.anongid the uid/gid can be specified and the root user (uid=0 and gid=0) will be mapped to the given uid/gid instead of nfsnobody (uid=65534 and gid=65534). Many thanks to Vikhyat Umrao for writing the majority of the test-case! Change-Id: I6379a3d2ef52b9b9707f2f6f0529657580c8d779 BUG: 1043886 CC: Vikhyat Umrao <vumrao> Signed-off-by: Niels de Vos <ndevos> Reviewed-on: http://review.gluster.org/6546 Reviewed-by: Santosh Pradhan <spradhan> Reviewed-by: Vikhyat Umrao <vumrao> Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Vijay Bellur <vbellur> 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 The request was to implement all_squash, anonuid and anongid. The example given was the export line: /home/joe pc001(rw,all_squash,anonuid=150,anongid=100) ... which will map all incoming user requests to UID 150, GID 100. glusterfs-3.6.1 implements root_squash, anonuid and anongid. root_squash maps UID 0 / GID 0 requests to anonuid / anongid. all_squash maps all UIDs to anonuid and all GIDs to anongid. Until server.all-squash is implemented this request should remain open. Added a new ticket https://bugzilla.redhat.com/show_bug.cgi?id=1285126 requesting an all_squash option. |