[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 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?


     MTA SZTAKI Computer and Automation Research Institute
                Hungarian Academy of Sciences

Reply to: