getent fails to find groups when libnss provides multiple entries
Bug #663816 reported by
LaMont Jones
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:
% getent group | grep java-tck
java-tck:
java-tck:
To post a comment you must log in.