[Bugs] [Bug 1477190] [GNFS] GNFS got crashed while mounting volume on solaris client
bugzilla at redhat.com
bugzilla at redhat.com
Wed Aug 2 15:09:18 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1477190
--- Comment #4 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/17947 committed in release-3.12 by
Shyamsundar Ranganathan (srangana at redhat.com)
------
commit 726797d3e62bfe1ebf0c3af63b00084e1b159886
Author: Niels de Vos <ndevos at redhat.com>
Date: Tue Aug 1 14:41:54 2017 +0200
nfs: use "/" as subdir for volume mounts
For cases where subdir mounting is checked, it makes it much easier to
return a subdir of "/" in case no subdir is passed. This reduces the
number of corner cases where permissions are checked for subdir mounts,
but not for volume mounts (or the other way around).
The problem was identified by WebNFS mounting a volume, which got denied
after commit e3f48fa2. Handling this would require an exception for
non-subdir mounts, or make non-subdir mounts equal to subdir mounts.
This change takes the 2nd approach.
Cherry picked from commit 45c973576d6356dbe4da897e9f0528eac7529d48:
> Change-Id: I0d810ae90b267a2cc3eac8d55368a0f1b0787f6a
> Fixes: e3f48fa2 ("nfs: add permission checking for mounting over WebNFS")
> BUG: 1468291
> Signed-off-by: Niels de Vos <ndevos at redhat.com>
> Reviewed-on: https://review.gluster.org/17898
> Smoke: Gluster Build System <jenkins at build.gluster.org>
> Reviewed-by: soumya k <skoduri at redhat.com>
> CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
> Reviewed-by: jiffin tony Thottan <jthottan at redhat.com>
Change-Id: I0d810ae90b267a2cc3eac8d55368a0f1b0787f6a
BUG: 1477190
Signed-off-by: Niels de Vos <ndevos at redhat.com>
Reviewed-on: https://review.gluster.org/17947
Smoke: Gluster Build System <jenkins at build.gluster.org>
CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
Reviewed-by: Shyamsundar Ranganathan <srangana at redhat.com>
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=u29qKG6JK5&a=cc_unsubscribe
More information about the Bugs
mailing list