public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/13028] New: Resolver sometimes fails with option rotate
@ 2011-07-25 23:32 aurelien at aurel32 dot net
  2011-08-13  4:20 ` [Bug libc/13028] " nick.jones@network-box.com
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: aurelien at aurel32 dot net @ 2011-07-25 23:32 UTC (permalink / raw)
  To: glibc-bugs

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

           Summary: Resolver sometimes fails with option rotate
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper.fsp@gmail.com
        ReportedBy: aurelien@aurel32.net
              Host: x86_64-unknown-linux-gnu
            Target: x86_64-unknown-linux-gnu
             Build: x86_64-unknown-linux-gnu


Created attachment 5863
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5863
Patch to fix the issue

Depending on the contents of resolv.conf, if the rotate option is enabled, some
request fails. It is due to a typo in res_send.c, the attached patch fixes the
problem.

-- 
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] 13+ messages in thread

* [Bug libc/13028] Resolver sometimes fails with option rotate
  2011-07-25 23:32 [Bug libc/13028] New: Resolver sometimes fails with option rotate aurelien at aurel32 dot net
@ 2011-08-13  4:20 ` nick.jones@network-box.com
  2012-02-21  2:32 ` [Bug network/13028] " jsm28 at gcc dot gnu.org
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: nick.jones@network-box.com @ 2011-08-13  4:20 UTC (permalink / raw)
  To: glibc-bugs

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

nick.jones@network-box.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nick.jones@network-box.com

-- 
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] 13+ messages in thread

* [Bug network/13028] Resolver sometimes fails with option rotate
  2011-07-25 23:32 [Bug libc/13028] New: Resolver sometimes fails with option rotate aurelien at aurel32 dot net
  2011-08-13  4:20 ` [Bug libc/13028] " nick.jones@network-box.com
@ 2012-02-21  2:32 ` jsm28 at gcc dot gnu.org
  2012-07-25 20:20 ` law at redhat dot com
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2012-02-21  2:32 UTC (permalink / raw)
  To: glibc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|libc                        |network

-- 
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] 13+ messages in thread

* [Bug network/13028] Resolver sometimes fails with option rotate
  2011-07-25 23:32 [Bug libc/13028] New: Resolver sometimes fails with option rotate aurelien at aurel32 dot net
  2011-08-13  4:20 ` [Bug libc/13028] " nick.jones@network-box.com
  2012-02-21  2:32 ` [Bug network/13028] " jsm28 at gcc dot gnu.org
@ 2012-07-25 20:20 ` law at redhat dot com
  2012-12-19 10:46 ` schwab@linux-m68k.org
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: law at redhat dot com @ 2012-07-25 20:20 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #1 from law at redhat dot com 2012-07-25 20:19:16 UTC ---
*** Bug 13027 has been marked as a duplicate of this bug. ***

-- 
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] 13+ messages in thread

* [Bug network/13028] Resolver sometimes fails with option rotate
  2011-07-25 23:32 [Bug libc/13028] New: Resolver sometimes fails with option rotate aurelien at aurel32 dot net
                   ` (2 preceding siblings ...)
  2012-07-25 20:20 ` law at redhat dot com
@ 2012-12-19 10:46 ` schwab@linux-m68k.org
  2013-01-30 13:46 ` jdthood at gmail dot com
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: schwab@linux-m68k.org @ 2012-12-19 10:46 UTC (permalink / raw)
  To: glibc-bugs

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

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|drepper.fsp at gmail dot    |unassigned at sourceware
                   |com                         |dot org

-- 
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] 13+ messages in thread

* [Bug network/13028] Resolver sometimes fails with option rotate
  2011-07-25 23:32 [Bug libc/13028] New: Resolver sometimes fails with option rotate aurelien at aurel32 dot net
                   ` (3 preceding siblings ...)
  2012-12-19 10:46 ` schwab@linux-m68k.org
@ 2013-01-30 13:46 ` jdthood at gmail dot com
  2013-10-14  6:17 ` neleai at seznam dot cz
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: jdthood at gmail dot com @ 2013-01-30 13:46 UTC (permalink / raw)
  To: glibc-bugs

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

Thomas Hood <jdthood at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jan at servage dot net

--- Comment #2 from Thomas Hood <jdthood at gmail dot com> 2013-01-30 13:46:07 UTC ---
*** Bug 12556 has been marked as a duplicate of this bug. ***

-- 
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] 13+ messages in thread

* [Bug network/13028] Resolver sometimes fails with option rotate
  2011-07-25 23:32 [Bug libc/13028] New: Resolver sometimes fails with option rotate aurelien at aurel32 dot net
                   ` (4 preceding siblings ...)
  2013-01-30 13:46 ` jdthood at gmail dot com
@ 2013-10-14  6:17 ` neleai at seznam dot cz
  2014-06-13 10:49 ` fweimer at redhat dot com
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: neleai at seznam dot cz @ 2013-10-14  6:17 UTC (permalink / raw)
  To: glibc-bugs

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

Ondrej Bilka <neleai at seznam dot cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |neleai at seznam dot cz
         Resolution|---                         |FIXED

--- Comment #3 from Ondrej Bilka <neleai at seznam dot cz> ---
Fixed by cabba9343c8bd99e4aea66aa1e0ec7d93aa18a7e

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


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

* [Bug network/13028] Resolver sometimes fails with option rotate
  2011-07-25 23:32 [Bug libc/13028] New: Resolver sometimes fails with option rotate aurelien at aurel32 dot net
                   ` (5 preceding siblings ...)
  2013-10-14  6:17 ` neleai at seznam dot cz
@ 2014-06-13 10:49 ` fweimer at redhat dot com
  2015-02-16 15:50 ` schwab@linux-m68k.org
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13 10:49 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

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


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

* [Bug network/13028] Resolver sometimes fails with option rotate
  2011-07-25 23:32 [Bug libc/13028] New: Resolver sometimes fails with option rotate aurelien at aurel32 dot net
                   ` (6 preceding siblings ...)
  2014-06-13 10:49 ` fweimer at redhat dot com
@ 2015-02-16 15:50 ` schwab@linux-m68k.org
  2015-02-16 15:58 ` schwab@linux-m68k.org
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: schwab@linux-m68k.org @ 2015-02-16 15:50 UTC (permalink / raw)
  To: glibc-bugs

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

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #5 from Andreas Schwab <schwab@linux-m68k.org> ---
This is not a typo.  statp.nsaddr_list and EXT(statp).nsaddrs use the same
indexes to preserve correct nameserver order, if IPv4 and IPv6 addresses are
mixed.

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


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

* [Bug network/13028] Resolver sometimes fails with option rotate
  2011-07-25 23:32 [Bug libc/13028] New: Resolver sometimes fails with option rotate aurelien at aurel32 dot net
                   ` (7 preceding siblings ...)
  2015-02-16 15:50 ` schwab@linux-m68k.org
@ 2015-02-16 15:58 ` schwab@linux-m68k.org
  2015-02-17 12:54 ` schwab@linux-m68k.org
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: schwab@linux-m68k.org @ 2015-02-16 15:58 UTC (permalink / raw)
  To: glibc-bugs

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

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |WAITING

--- Comment #6 from Andreas Schwab <schwab@linux-m68k.org> ---
Please provide a test case.

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


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

* [Bug network/13028] Resolver sometimes fails with option rotate
  2011-07-25 23:32 [Bug libc/13028] New: Resolver sometimes fails with option rotate aurelien at aurel32 dot net
                   ` (8 preceding siblings ...)
  2015-02-16 15:58 ` schwab@linux-m68k.org
@ 2015-02-17 12:54 ` schwab@linux-m68k.org
  2015-05-14 22:12 ` paul at pmarks dot net
  2015-05-21 14:36 ` schwab@linux-m68k.org
  11 siblings, 0 replies; 13+ messages in thread
From: schwab@linux-m68k.org @ 2015-02-17 12:54 UTC (permalink / raw)
  To: glibc-bugs

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

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |17802

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


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

* [Bug network/13028] Resolver sometimes fails with option rotate
  2011-07-25 23:32 [Bug libc/13028] New: Resolver sometimes fails with option rotate aurelien at aurel32 dot net
                   ` (9 preceding siblings ...)
  2015-02-17 12:54 ` schwab@linux-m68k.org
@ 2015-05-14 22:12 ` paul at pmarks dot net
  2015-05-21 14:36 ` schwab@linux-m68k.org
  11 siblings, 0 replies; 13+ messages in thread
From: paul at pmarks dot net @ 2015-05-14 22:12 UTC (permalink / raw)
  To: glibc-bugs

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

Paul Marks <paul at pmarks dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paul at pmarks dot net

--- Comment #7 from Paul Marks <paul at pmarks dot net> ---
This bug still exists.  Here's how to reproduce it trivially:

$ cat /etc/resolv.conf 
options rotate
nameserver 2001:4860:4860::8888

$ python -c 'import socket; print(socket.getaddrinfo("www.kernel.org.", 80, 0,
0, socket.IPPROTO_TCP))'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
socket.gaierror: [Errno -3] Temporary failure in name resolution

$ ldd --version
ldd (Gentoo 2.20-r2 p4) 2.20

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


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

* [Bug network/13028] Resolver sometimes fails with option rotate
  2011-07-25 23:32 [Bug libc/13028] New: Resolver sometimes fails with option rotate aurelien at aurel32 dot net
                   ` (10 preceding siblings ...)
  2015-05-14 22:12 ` paul at pmarks dot net
@ 2015-05-21 14:36 ` schwab@linux-m68k.org
  11 siblings, 0 replies; 13+ messages in thread
From: schwab@linux-m68k.org @ 2015-05-21 14:36 UTC (permalink / raw)
  To: glibc-bugs

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

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.22

--- Comment #8 from Andreas Schwab <schwab@linux-m68k.org> ---
Should be fixed properly now.

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


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

end of thread, other threads:[~2015-05-21 14:36 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-25 23:32 [Bug libc/13028] New: Resolver sometimes fails with option rotate aurelien at aurel32 dot net
2011-08-13  4:20 ` [Bug libc/13028] " nick.jones@network-box.com
2012-02-21  2:32 ` [Bug network/13028] " jsm28 at gcc dot gnu.org
2012-07-25 20:20 ` law at redhat dot com
2012-12-19 10:46 ` schwab@linux-m68k.org
2013-01-30 13:46 ` jdthood at gmail dot com
2013-10-14  6:17 ` neleai at seznam dot cz
2014-06-13 10:49 ` fweimer at redhat dot com
2015-02-16 15:50 ` schwab@linux-m68k.org
2015-02-16 15:58 ` schwab@linux-m68k.org
2015-02-17 12:54 ` schwab@linux-m68k.org
2015-05-14 22:12 ` paul at pmarks dot net
2015-05-21 14:36 ` schwab@linux-m68k.org

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).