Bug 789961
Summary: | [635f3bc0f8a05ad1280f8ab7d55181502bcad700] proc status shows only 32 groups even though the protocol supports more | |||
---|---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Anush Shetty <ashetty> | |
Component: | fuse | Assignee: | Brian Foster <bfoster> | |
Status: | CLOSED EOL | QA Contact: | ||
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | mainline | CC: | admin, bugs, csaba, gluster-bugs, meltingrobot | |
Target Milestone: | --- | Keywords: | Triaged | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 848333 (view as bug list) | Environment: | ||
Last Closed: | 2015-10-22 15:46:38 UTC | Type: | --- | |
Regression: | RTP | Mount Type: | fuse | |
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: | 848333 |
Description
Anush Shetty
2012-02-13 11:10:33 UTC
Brian, if you get any insight into this issue, it would be great to know. I don't know how we can get aux gid's if its more than 32 at the moment. (In reply to comment #1) > Brian, if you get any insight into this issue, it would be great to know. I > don't know how we can get aux gid's if its more than 32 at the moment. Hi Amar, Right, I recall looking into this briefly in the past and don't recall a direct mechanism to get the aux group list for a separate process. getgroups() works for the current process and getgrouplist() is based on a user. I suppose we could get the aux gids for the user of a process, but that's probably not correct for a process that might have changed its group membership at runtime (setgroups()?). Some testing in that regard against a local filesystem might be informative. A correct approach might be to enhance fuse to include aux group data in fuse requests (if requested by the fuse fs). Actually in doing some googling, I see that Emmanuel had attempted such an approach in the past (for NetBSD), but it appears to have not made it upstream (at least the libfuse bits): http://old.nabble.com/-PATCH--send-secondary-groups-through-FUSE-tt32937662.html#a32937662 Perhaps we should revisit this. BTW, is this based on a user report or otherwise something we see user's complain about? I ran into this issue with the latest Gluster 3.4.1. We have a few users that happen to be in a more than 32 AD groups that are troubled with this limitation. because of the large number of bugs filed against mainline version\ is ambiguous and about to be removed as a choice. If you believe this is still a bug, please change the status back to NEW and choose the appropriate, applicable version for it. |