[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 Tue, Oct 04, 2005 at 02:38:56PM +0200, Gabor Gombas wrote:
> On Tue, Oct 04, 2005 at 02:18:18PM +0200, Marc Haber wrote:
> > I am concerned about nscd suddenly giving an actual error message
> > instead of silently returning non-zero, which might confuse the users.
> Well, my personal preference would be not to worry about this until it
> becomes a real issue (that future error message may be descriptive
> enough, after all).

Adduser has _a lot_ of installations and is mainly used by maintainer
scripts. Thus, _a lot_ of people are bound to see error messages
generated by adduser and are bound to be confused by them.

> Or you can just add "2>/dev/null" to the nscd -i
> invocation.

That will also kill "real" error messages.


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: