Hide Forgot
Description of problem: The secondary group memberships are not computed correctly when using the db backend in nss. Version-Release number of selected component (if applicable): glibc-2.14.90-24.fc16.4.x86_64 How reproducible: Always Steps to Reproduce: cd /var/db; make Edit /etc/nsswitch.conf to force group and initgroups to use db backend with no files fallback. Actual results: # getent group wheel wheel:x:10:robertk # groups robertk robertk : robertk Expected results: # getent group wheel wheel:x:10:robertk # groups robertk robertk : robertk wheel
This is caused by a typo in the group.db rule in /var/db/Makefile. It's fixed in glibc commit 98591e582047b308de2ed0621088edad5d3cdf8a. The printf format string ":%s $s %s\n" near the end of the rule should have another % instead of the $.
This is fixed in rawhide & f17. I'm not planning to backport to F16. I realize it's a small change, but my focus is shifting to issues affecting F17.