Red Hat Bugzilla – Bug 1196904
RDMA mount fails for unprivileged user without cap_net_bind_service
Last modified: 2016-08-23 09:03:47 EDT
+++ This bug was initially created as a clone of Bug #1195907 +++
Description of problem:
When an unprivileged user (one without cap_net_bind_service capability) tries to connect to a volume using RDMA transport (tested using libgfapi) the client hangs trying to bind a privileged port.
This happenes because when failing to bind a privileged port because of EACCES, rdma_bind_addr is never called on the fall-through unprivileged port.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Use libgfapi to mount a volume as an unprivileged user using rdma transport.
Hang trying to bind local port.
Successfully mount the volume.
This bug is to backport the patch applied to master to the stable release.
Backport request for http://review.gluster.org/9737
This bug is being closed as GlusterFS-3.6 is nearing its End-Of-Life and only important security bugs will be fixed. This bug has been fixed in more recent GlusterFS releases. If you still face this bug with the newer GlusterFS versions, please open a new bug