On Mon, Jul 13, 2009 at 12:57 PM, Ulrich Spörlein<u...@spoerlein.net> wrote:
> On Thu, 09.07.2009 at 16:13:25 +0300, Vlad Galu wrote:
>> I've stumbled upon this while installing postgres. In
>> /etc/nsswitch.conf I had "group: cache files compat" and "passwd:
>> cache files compat". Once I commented them out things started working
>> again. Before the change, this is how it looked like:
>>
>> -- cut here --
>> [r...@vgalu /usr/ports/databases/postgresql84-server]# pw group add pgsql -g 
>> 70
>> pw: group disappeared during update
>> [r...@vgalu /usr/ports/databases/postgresql84-server]# pw group add pgsql -g 
>> 70
>> pw: group 'pgsql' already exists
>> [r...@vgalu /usr/ports/databases/postgresql84-server]#
>> -- and here --
>>
>> Shouldn't 'files' be used upon a cache miss? If this is a PEBKAC,
>> sorry for the noise.
>
> Just a me too. This is most likely because nscd is also caching negative
> lookups. The usual workaround would be to restart it using
> /etc/rc.d/nscd restart
>

A slightly lower-impact alternative would be to use "nscd -i passwd"
to invalidate the password cache.


-Proto
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to