[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#692136: libc6: debugging resolv by setting debug does not work



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
> 
> Dear Maintainers,
> 
> Debugging name resulution does not work. According to 'man resolv.conf',
> it can be enabled by writing options debug in /etc/resolv.conf or by setting
> RES_OPTIONS=debug when starting a process.
> 
> 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)
> 
> Not sure if this should be changed (by changeing the code [upstream] or 
> compileing with DEBUG) or the manual page about resolv.conf should be updated 
> and not mention option debug. (The manpage is in the package manpages.)

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.

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net


Reply to: