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

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



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


same bug in different system:
mail-index.netbsd.org/netbsd-bugs/2001/08/27/0005.html


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libc6 depends on:
ii  libc-bin  2.13-36
ii  libgcc1   1:4.7.1-7

libc6 recommends no packages.

Versions of packages libc6 suggests:
ii  debconf [debconf-2.0]  1.5.46
pn  glibc-doc              <none>
ii  locales                2.13-35

-- debconf information excluded


Reply to: