Bug#330929: how can adduser reliably find out wheter nscd is running?
On Tue, Oct 04, 2005 at 01:28:07PM +0200, Gabor Gombas wrote:
> On Mon, Oct 03, 2005 at 06:07:26PM +0200, Marc Haber wrote:
> > 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.
>
> What do you mean by "not an error"? nscd -i of course will return a
> non-0 exit code since it cannot invalidate the cache if the daemon is
> not running, but that is OK for adduser. I think you simply should not
> care if nscd -i succeeds or fails.
I am concerned about nscd suddenly giving an actual error message
instead of silently returning non-zero, which might confuse the users.
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: