From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 7 10:19:15 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E29A106564A for ; Fri, 7 Oct 2011 10:19:15 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 076238FC19 for ; Fri, 7 Oct 2011 10:19:14 +0000 (UTC) Received: by vcbf13 with SMTP id f13so4193144vcb.13 for ; Fri, 07 Oct 2011 03:19:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=3USHGkLKggriDpFMuOPrKMktZ0YnEUW+KiFOf/40AsM=; b=YYIyxr7qAyiU0/ntkIpskrVamzsI4moBWhaW1ynXLy2a4Yg1iCIV2UkvsUQ50bofVq eHd1Nw+sdRV2x+9cQpw2l/rS2zhxpWO6yrgiw8RaJX2YaoDp3zEDVMX6pD356CWU659R XyB0GZYQc260vmXfmLXs3ynbvpi3VkfYPuDIc= MIME-Version: 1.0 Received: by 10.52.65.205 with SMTP id z13mr1733897vds.87.1317981104837; Fri, 07 Oct 2011 02:51:44 -0700 (PDT) Received: by 10.52.111.201 with HTTP; Fri, 7 Oct 2011 02:51:44 -0700 (PDT) In-Reply-To: <4e8f073c.3g2aD/Zz9KdsWOKN%perryh@pluto.rain.com> References: <20111004160043.GA16034@lpthe.jussieu.fr> <051853CE-03EC-4EEC-A5AC-C380131B28E4@gsoft.com.au> <4e8f073c.3g2aD/Zz9KdsWOKN%perryh@pluto.rain.com> Date: Fri, 7 Oct 2011 10:51:44 +0100 Message-ID: From: Tom Evans To: perryh@pluto.rain.com Content-Type: text/plain; charset=UTF-8 Cc: freebsd-hackers@freebsd.org Subject: Re: Does anyone use nscd? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Oct 2011 10:19:15 -0000 On Fri, Oct 7, 2011 at 3:05 PM, wrote: > Ivan Voras 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. :-/ >> >> +1. >> >> 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. Cheers Tom