This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nscd/16366] New: nscd returns success for negative netgroup query results
- From: "siddhesh at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 23 Dec 2013 11:42:47 +0000
- Subject: [Bug nscd/16366] New: nscd returns success for negative netgroup query results
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=16366
Bug ID: 16366
Summary: nscd returns success for negative netgroup query
results
Product: glibc
Version: 2.18
Status: NEW
Severity: normal
Priority: P2
Component: nscd
Assignee: siddhesh at redhat dot com
Reporter: siddhesh at redhat dot com
CC: drepper.fsp at gmail dot com
A negitve result from a netgroup query does not result in a failure return code
when it is serviced through nscd.
Steps to reproduce:
For a netgroup 'foo' that does not exist:
1. service nscd stop
2. getent netgroup foo
3. echo $?
4. service nscd start
5. getent netgroup foo
6. echo $?
Actual results:
With nscd stopped, return code ($?) is 2 while with nscd running, it is 0.
Expected results:
In both cases, return code should be 2.
Patch coming up.
--
You are receiving this mail because:
You are on the CC list for the bug.