[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#344358: using db for groups in nsswitch.conf creates double groups (fwd)



reassign 344358 glibc
thanks

I believe the submitter is complaning about libc behaviour here, not about
defaults in base-files. Reassigning accordingly.

---------- Forwarded message ----------
From: Ron Peterson <rpeterso@MtHolyoke.edu>
To: submit@bugs.debian.org
Date: Wed, 21 Dec 2005 22:03:11 -0500
Subject: Bug#344358: using db for groups in nsswitch.conf creates double
    groups

Package: base-files
Version: 3.1.2

Debian Sarge

If I'm not mistaken, if you use db lookups for groups in nsswitch.conf,
followed by files, this leads to double group membership.  For example,
when my nsswitch.conf contains:

group:         db files

...and after I've updated the database files in /var/lib/misc, I find
that any group membership specified in /etc/group is reported twice by
the 'groups' command.  The effect isn't noticable unless you log in
again, of course.  If logging in via ssh, the ssh daemon has to be
restarted.

We discovered this quite by accident trying to track down an issue with
Tru64 file locking in directories having no permissions for 'other' on
nfs mounts from linux, but that's another story...

Best.

-- 
Ron Peterson
Network & Systems Manager
Mount Holyoke College
http://pks.mtholyoke.edu:11371/pks/lookup?search=0xB6D365A1&op=vindex



Reply to: