getent fails to find groups when libnss provides multiple entries

Bug #663816 reported by LaMont Jones
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
eglibc (Ubuntu)
New
Undecided
Unassigned

Bug Description

If a group is defined in multiple places (such as /etc/group and libnss-db)
then getent fails. The operation of the system uses the union of the two
entries, getent returns the first.

% grep ^group /etc/nsswitch.conf
group: db compat
% getent group java-tck
java-tck:x:2617:user1,user2
% getent group | grep java-tck
java-tck:x:2617:user1,user2
java-tck:x:2617:user3

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.