Does anyone use nscd?
tevans.uk at googlemail.com
Fri Oct 7 10:19:15 UTC 2011
On Fri, Oct 7, 2011 at 3:05 PM, <perryh at pluto.rain.com> wrote:
> Ivan Voras <ivoras at freebsd.org> wrote:
>> On 05/10/2011 09:38, Trond Endrest??l wrote:
>> > On Wed, 5 Oct 2011 12:54+1030, Daniel O'Connor wrote:
>> >> In my experience ncsd seems to cache negative hits forever,
>> >> regardless of the setting for negative-time-to-live.
>> > I'm glad to see I'm not the only one who has noticed this odd
>> > behaviour of nscd. Shame on me for not speaking up sooner, but
>> > I feared I might be proved wrong (again), and yes, that's a
>> > lame excuse. :-/
>> It's very annoying when installing ports which add users - the
>> port adds it then in some future code checks it and it fails.
>> I've noticed it with at least CUPS.
> Sounds as if there ought to be a unified mechanism for ports
> to use when adding users, so that necessary notifications --
> e.g. restarting nscd if it is running -- can be done in a
> standardized way and any necessary customizations can be done
> in a single place.
Or nscd fixed to not permanently cache negative hits. Seems more correct.
More information about the freebsd-hackers