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

Re: Request for discussion: Package installation problem with running nscd



On Fri, 2005-05-20 at 09:26 +0200, Oliver Falk wrote:

> I have a fcdev system running at my site that runs with ldap/nscd.
> 
> The problem I'm running into - some times - is:
> * nscd is running and caches groups/passwd
> * I try to install a package
> * package does the usual groupadd -r <somegroup> >/dev/null 2>&1 or useradd
> ...
> * package' file list lists %attr(-, <somegroup>, <someuser>) or something
> like that.
> 
> But as nscd caches the passwd/group it thinks that <somegroup> or <someuser>
> doesn't exist and rpm tell's me:
> 
>    warning: group <somegroup> does not exist - using root

Things should Just Work(tm).

nscd in FC has been patched to prune the password, group and hosts
caches when it receives a SIGHUP, and shadow-utils has been patched to
HUP nscd on relevant operations.
http://cvs.fedora.redhat.com/viewcvs/devel/glibc/glibc-fedora.patch?rev=.&view=auto
http://cvs.fedora.redhat.com/viewcvs/devel/shadow-utils/shadow-4.0.3-nscd.patch?rev=.&view=auto

There was a bug at FC2'ish time where the nscd pid file had moved so
that the HUP never happened.  But that was fixed last year...
https://bugzilla.redhat.com/125421



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