[Bugs] [Bug 1299203] New: resolve-gids is not needed for Linux kernels v3.8 and newer

bugzilla at redhat.com bugzilla at redhat.com
Sun Jan 17 11:10:45 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1299203

            Bug ID: 1299203
           Summary: resolve-gids is not needed for Linux kernels v3.8 and
                    newer
           Product: GlusterFS
           Version: mainline
         Component: fuse
          Keywords: FutureFeature, Triaged
          Assignee: bugs at gluster.org
          Reporter: ndevos at redhat.com
                CC: bugs at gluster.org



Description of problem:
Modern versions of Linux export more than 32 groups from the /proc/x/status
file. Starting with version 3.8 as of commit
8d238027b87e654be552eabdf492042a34c5c300, all the supplementary groups (not
just the first 32) are exported via procfs.

This patch suggests that the resolve-gids switch would only be necessary on
versions of Linux exporting only a subset of groups. That is, versions prior to
v3.8.

It would also be possible to #include <linux/limits.h> and use the NGROUPS_MAX
defined there. However, it is currently the same as GF_MAX_AUX_GROUPS (65536)

Additional info:
Reported and patch proposed at https://github.com/gluster/glusterfs/pull/41

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list