Bug 12556 - resolv: RES_ROTATE / options rotate broken
resolv: RES_ROTATE / options rotate broken
Status: RESOLVED DUPLICATE of bug 13028
Product: glibc
Classification: Unclassified
Component: network
2.11
: P2 normal
: ---
Assigned To: Not yet assigned to anyone
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-09 16:25 UTC by Jan Boysen
Modified: 2013-01-30 13:46 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
Fix for RES_ROTATE option (419 bytes, text/plain)
2011-03-09 16:25 UTC, Jan Boysen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Boysen 2011-03-09 16:25:27 UTC
Created attachment 5281 [details]
Fix for RES_ROTATE option

Since Git commit 3a85895fa3e15b8d53856161a4ba3950d44ea285 RES_ROTATE seems broken as the nameservers are not rotate anymore if specifying options rotate in /etc/resolv.conf

Always the second entry is queries instead of a rotate on all specified nameservers.

I investigated the issue back to commit 3a85895fa3e15b8d53856161a4ba3950d44ea285.

The attached patch fixes the rotate option, but I didnt try if this also breaks the main cause of the commit.

The bug has originally bee reported at Debians Bugtracker at
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593571

but as far I investigated other distributions are affected too like Gentoo and Fedora..
Comment 1 Thomas Hood 2013-01-30 13:46:07 UTC
Merging

*** This bug has been marked as a duplicate of bug 13028 ***