fedora-infra / fas

Fedora Account System
https://admin.fedoraproject.org/accounts
GNU General Public License v2.0
40 stars 50 forks source link

fix fas nss db creation #70

Closed nirik closed 10 years ago

nirik commented 10 years ago

Currently on all Fedora's and RHEL7, fas is not creating the nss db files it makes the way that glibc expects them. This results in users not getting any groups on login and having to run 'newgrp' all the time.

fas just calls "makedb" with the data, but thats not sufficent, apparently a initgroups header is needed.

Look at /var/db/Makefile for the awk thats called before makedb for groups (or anything else) and add this handling to fas.

Happy to provide more info, etc.

laxathom commented 10 years ago

Adding https://bugzilla.redhat.com/show_bug.cgi?id=750361#c25 for more details.