Hello Michael,

Some update wrt resolver.

On Wed, Nov 14, 2012 at 12:51:44AM +0100, Aurelien Jarno wrote:
> reassign 692136 manpages
> retitle 692136: manpages: resolv.conf should not mention RES_OPTIONS=debug
> thanks
> 
> On Fri, Nov 02, 2012 at 03:37:36PM +0100, Simon Heimberg wrote:
> > Package: libc6
> > Version: 2.13-36
> > Severity: minor
[..]
> > I tried to debug problems in dns name resolution. I found out that 
> > 'RES_OPTIONS=debug ping a.b.c.d' does not print any debug output. Also no 
> > othe 
> > program (like wget) does. Writing options debug in /etc.resolc.conf does 
> > also 
> > not change anything.
> > 
> > The problem is that the RES_DEBUG is only considered when DEBUGGING is set. 
> > (In res_setoptions() of res_init.c)
[..]
> The resolver code is deliberately not build with DEBUG by default, as
> stated in the sources in resolv/README:
> 
> | * The RES_DEBUG option (`options debug' in /etc/resolv.conf) has been
> |  disabled.
> 
> For me it is therefore a documentation issue. I am therefore reassigning
> this bug to the manpages package.

And for the record, it seems this has been the case in glibc since a very long 
time
committer       Roland McGrath <rol...@gnu.org> 
Sat, 18 Feb 1995 01:27:10 +0000 (01:27 +0000)
commit  28f540f45bbacd939bfd07f213bcad2bf730b1bf
http://repo.or.cz/w/glibc.git/blob/28f540f45bbacd939bfd07f213bcad2bf730b1bf:/resolv/res_init.c

Wording proposal (for both resolv.conf.5 and resolver.3):
This option needs glibc to be build with debugging enabled, which is not the 
default.

If the wording is fine to you, I will provide proper patch.

-- 
Simon Paillard


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to