public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/430] nsswitch.conf doesn't support TRYAGAIN=forever, giving bogus results when NIS is not responding
       [not found] <bug-430-131@http.sourceware.org/bugzilla/>
@ 2011-06-08  9:11 ` matthias.andree at gmx dot de
  2011-06-08  9:12 ` matthias.andree at gmx dot de
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: matthias.andree at gmx dot de @ 2011-06-08  9:11 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=430

--- Comment #15 from Matthias Andree <matthias.andree at gmx dot de> 2011-06-08 09:11:23 UTC ---
Regarding errno (or result code of getpwnam_r()) checking, this still doesn't
happen in glibc 2.11 (in violation of IEEE Std 1003.1 as of before this bug
report) and is not portable. FreeBSD 8-STABLE  leaves errno at 0 in
temporary-failure-on-nis conditions (but retries for an extended but bounded
amount of time). 

The Linux man-pages project effectively documents that there is no portable way
to distinguish temporary errors from an authoritative "user does not exist" -
which is likely why applications don't even bother.

Several documentation inconsistencies even in glibc exist, for instance, the
info file does not document errno use in getpwnam() at all, the external Linux
man-pages project documents errno, but is probably not authoritative for glibc.

An intesting practical consequence denying cron service is documented in
https://bugs.launchpad.net/bugs/27520 - cron starts before ypbind and caches
the getpwnam("someuser") == NULL result... this would not happen with
TRYAGAIN=forever.

Which leaves us with the solution I've requested in 2004, retry forever, for
lack of better solutions. Perhaps POSIXLY_CORRECT could make a difference to
this behaviour or the defaults, but the current sitation is the same as 7 years
ago, other newer operating system versions are also still non-conformant, so
that applications will continue to ignore errno when using getpwnam().

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libc/430] nsswitch.conf doesn't support TRYAGAIN=forever, giving bogus results when NIS is not responding
       [not found] <bug-430-131@http.sourceware.org/bugzilla/>
  2011-06-08  9:11 ` [Bug libc/430] nsswitch.conf doesn't support TRYAGAIN=forever, giving bogus results when NIS is not responding matthias.andree at gmx dot de
@ 2011-06-08  9:12 ` matthias.andree at gmx dot de
  2012-02-21  1:20 ` [Bug nis/430] " jsm28 at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: matthias.andree at gmx dot de @ 2011-06-08  9:12 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=430

Matthias Andree <matthias.andree at gmx dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |ASSIGNED

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug nis/430] nsswitch.conf doesn't support TRYAGAIN=forever, giving bogus results when NIS is not responding
       [not found] <bug-430-131@http.sourceware.org/bugzilla/>
  2011-06-08  9:11 ` [Bug libc/430] nsswitch.conf doesn't support TRYAGAIN=forever, giving bogus results when NIS is not responding matthias.andree at gmx dot de
  2011-06-08  9:12 ` matthias.andree at gmx dot de
@ 2012-02-21  1:20 ` jsm28 at gcc dot gnu.org
  2014-02-16 19:30 ` jackie.rosen at hushmail dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2012-02-21  1:20 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=430

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kukuk at suse dot de
          Component|libc                        |nis

--- Comment #16 from Joseph Myers <jsm28 at gcc dot gnu.org> 2012-02-21 01:17:21 UTC ---
FWIW, this seems like a reasonable feature request to me, though I am not
expert in this area and have not confirmed if the issue still exists.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug nis/430] nsswitch.conf doesn't support TRYAGAIN=forever, giving bogus results when NIS is not responding
       [not found] <bug-430-131@http.sourceware.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2012-02-21  1:20 ` [Bug nis/430] " jsm28 at gcc dot gnu.org
@ 2014-02-16 19:30 ` jackie.rosen at hushmail dot com
  2014-05-28 19:46 ` schwab at sourceware dot org
  2014-05-28 21:39 ` jpyeron at pdinc dot us
  5 siblings, 0 replies; 6+ messages in thread
From: jackie.rosen at hushmail dot com @ 2014-02-16 19:30 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=430

Jackie Rosen <jackie.rosen at hushmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jackie.rosen at hushmail dot com

--- Comment #17 from Jackie Rosen <jackie.rosen at hushmail dot com> ---
*** Bug 260998 has been marked as a duplicate of this bug. ***
Seen from the domain http://volichat.com
Page where seen: http://volichat.com/adult-chat-rooms
Marked for reference. Resolved as fixed @bugzilla.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug nis/430] nsswitch.conf doesn't support TRYAGAIN=forever, giving bogus results when NIS is not responding
       [not found] <bug-430-131@http.sourceware.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2014-02-16 19:30 ` jackie.rosen at hushmail dot com
@ 2014-05-28 19:46 ` schwab at sourceware dot org
  2014-05-28 21:39 ` jpyeron at pdinc dot us
  5 siblings, 0 replies; 6+ messages in thread
From: schwab at sourceware dot org @ 2014-05-28 19:46 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=430

Andreas Schwab <schwab at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|jackie.rosen at hushmail dot com   |

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug nis/430] nsswitch.conf doesn't support TRYAGAIN=forever, giving bogus results when NIS is not responding
       [not found] <bug-430-131@http.sourceware.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2014-05-28 19:46 ` schwab at sourceware dot org
@ 2014-05-28 21:39 ` jpyeron at pdinc dot us
  5 siblings, 0 replies; 6+ messages in thread
From: jpyeron at pdinc dot us @ 2014-05-28 21:39 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=430

Jason Pyeron <jpyeron at pdinc dot us> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jpyeron at pdinc dot us

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-05-28 21:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-430-131@http.sourceware.org/bugzilla/>
2011-06-08  9:11 ` [Bug libc/430] nsswitch.conf doesn't support TRYAGAIN=forever, giving bogus results when NIS is not responding matthias.andree at gmx dot de
2011-06-08  9:12 ` matthias.andree at gmx dot de
2012-02-21  1:20 ` [Bug nis/430] " jsm28 at gcc dot gnu.org
2014-02-16 19:30 ` jackie.rosen at hushmail dot com
2014-05-28 19:46 ` schwab at sourceware dot org
2014-05-28 21:39 ` jpyeron at pdinc dot us

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).