Bug 1364739
Summary: | Fix sensitivity to rw,ro ordering in the exports file | ||||||
---|---|---|---|---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Shreyas Siravara <sshreyas> | ||||
Component: | nfs | Assignee: | Niels de Vos <ndevos> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | mainline | CC: | bugs, ndevos, sshreyas | ||||
Target Milestone: | --- | Keywords: | Patch, Triaged | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | glusterfs-4.1.3 (or later) | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2018-08-29 03:37:50 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: | |||||||
Attachments: |
|
REVIEW: http://review.gluster.org/15104 (nfs/auth: Fix sensitivity to rw,ro ordering in the exports file) posted (#1) for review on master by Niels de Vos (ndevos) Thanks Shreyas! Could you check if the posted patch works for you too? It should prevent the extra execution of __export_dir_lookup_netgroup() after an entry was matched. REVIEW: http://review.gluster.org/15104 (nfs/auth: Fix sensitivity to rw,ro ordering in the exports file) posted (#2) for review on master by Niels de Vos (ndevos) This update is done in bulk based on the state of the patch and the time since last activity. If the issue is still seen, please reopen the bug. The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |
Created attachment 1188254 [details] Suggested Patch Description of problem: When a netgroup is marked as rw in the exports file, and another netgroup is marked as ro for the same share, the ro option is not honored. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Create an exports file with a netgroup which has one client with 'ro' permission, and one client with 'rw' permission. 2. Mount this share from the two clients and attempt to write data. Actual results: Only one of the 'ro' or 'rw' options is honored. Expected results: The appropriate 'ro' and 'rw' options for each client must be honored. Additional info: