Ticket #1062 (new defect)
lookup parent groups during RFC2307bis initgroups in parallel
|Reported by:||jhrozek||Owned by:||somebody|
|Coverity Bug:||Patch Submitted:||no|
|Red Hat Bugzilla:||0||Design link:|
|Design review:||Fedora test page:|
|Chosen:||Candidate to push out:|
For users who are members of large and complex group memberships, looking up all the groups can be time consuming. We are searching for the groups sequentially -- the reason we coded inigroups sequentially was that we were trying to avoid the trouble of having to detect loops in inter-group memberships.
We should reconsider looking up the groups (at least for one nesting level) in parallel. The loop problem should be solved by storing the groups in a hash, which we do already and checking if a group was already processed.