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

Re: udev vs ldap at startup



On Fri, Aug 11, 2006 at 02:59:16PM +1000, Brian May wrote:

> The second query is trying to find out all the groups root is in (is
> it possible to skip this???).

Only if you either remove ldap from the groups: line in nsswitch.conf,
or you do not use any programs that call initgroups()/getgrent().

A workaround may be to have /etc/nsswitch.conf.files that does not have
LDSP entries, bind-mount it over /etc/nsswitch.conf in say
/etc/rcS.d/S02blah, and unmount it in /etc/rcS.d/S99blah. This is not a
real fix though since udev events can be processed well after rcS is run.

The real fix would be to tame libldap2/libnss-ldap.

Gabor

-- 
     ---------------------------------------------------------
     MTA SZTAKI Computer and Automation Research Institute
                Hungarian Academy of Sciences
     ---------------------------------------------------------



Reply to: