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

Bug#330929: how can adduser reliably find out wheter nscd is running?



On Mon, Oct 03, 2005 at 05:52:59PM +0200, Gabor Gombas wrote:
> On Fri, Sep 30, 2005 at 04:05:40PM +0200, Marc Haber wrote:
> > However, this heuristics has recently begun to fail because the
> > pidfile has moved from /var/run to /var/run/nscd. Instead of changing
> > adduser to check for both files (and probably fail on the next
> > location change), I'd like to have a clearly drawn interface to find
> > out whether it is necessary to invalidate nscd or not.
> 
> Why do you need to know if it is running or not? Why not just call
> "nscd -i" unconditionally if nscd is installed?

That's how we're going to do it in the future. I would, however, like
to have the fact documented that it is not an error to run nscd -i if
no daemon is running.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835



Reply to: