Bug 12556 - resolv: RES_ROTATE / options rotate broken
Summary: resolv: RES_ROTATE / options rotate broken
Status: RESOLVED DUPLICATE of bug 13028
Alias: None
Product: glibc
Classification: Unclassified
Component: network (show other bugs)
Version: 2.11
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-09 16:25 UTC by Jan Boysen
Modified: 2014-06-27 13:46 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments
Fix for RES_ROTATE option (212 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 ***