Debian Bug report logs -
#405694
inet6 option in /etc/resolv.conf causes problems for a lot of programs
Reported by: Jeroen Massar <jeroen@unfix.org>
Date: Fri, 5 Jan 2007 17:48:44 UTC
Severity: minor
Fixed in version manpages/2.76-1
Done: Martin Schulze <joey@infodrom.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#405694; Package libc6.
(full text, mbox, link).
Acknowledgement sent to Jeroen Massar <jeroen@unfix.org>:
New Bug report received and forwarded. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: libc6
Version: 2.3.6.ds1-9
Severity: important
Adding 'options inet6' in /etc/resolv.conf will cause many programs to
crash or misbehave. The documentation currently contains (reformated):
inet6 sets RES_USE_INET6 in _res.options. This has the effect
of trying a AAAA query before an A query inside the
gethostbyname() function, and of mapping IPv4 responses
in IPv6 ``tunnelled form'' if no AAAA records are found
but an A record set exists.
A *big* warning should be given that setting this flag will cause
programs to behave strangely, as they will get back an AAAA record
and not the expected A record
Additionally one could consider to remove this feature as 'tunneled
forms', with which most likely ::a.b.c.d or ::ffff:a.b.c.d are meant
are deprecated by the IETF as they only cause issues, for instance
like these.
For instance a 2.6.x kernel will report the following when
doing a IPv4 traceroute (pkg: traceroute-nanog 6.3.10-2):
"traceroute forgot to set AF_INET in raw sendmsg. Fix it!"
Also SpamAssassin (3.1.7-1) will segfault when this option is used.
Separate bugs will be failed against these packages, referencing
this bug.
Greets,
Jeroen
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages libc6 depends on:
ii tzdata 2006p-1 Time Zone and Daylight Saving Time
libc6 recommends no packages.
-- no debconf information
Information forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#405694; Package libc6.
(full text, mbox, link).
Acknowledgement sent to Aurelien Jarno <aurelien@aurel32.net>:
Extra info received and forwarded to list. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>.
(full text, mbox, link).
Message #10 received at 405694@bugs.debian.org (full text, mbox, reply):
severity 405694 minor
reassign 405694 manpages
thanks
Jeroen Massar a écrit :
> Package: libc6
> Version: 2.3.6.ds1-9
> Severity: important
>
> Adding 'options inet6' in /etc/resolv.conf will cause many programs to
> crash or misbehave. The documentation currently contains (reformated):
>
> inet6 sets RES_USE_INET6 in _res.options. This has the effect
> of trying a AAAA query before an A query inside the
> gethostbyname() function, and of mapping IPv4 responses
> in IPv6 ``tunnelled form'' if no AAAA records are found
> but an A record set exists.
>
> A *big* warning should be given that setting this flag will cause
> programs to behave strangely, as they will get back an AAAA record
> and not the expected A record
>
>
> Additionally one could consider to remove this feature as 'tunneled
> forms', with which most likely ::a.b.c.d or ::ffff:a.b.c.d are meant
> are deprecated by the IETF as they only cause issues, for instance
> like these.
>
> For instance a 2.6.x kernel will report the following when
> doing a IPv4 traceroute (pkg: traceroute-nanog 6.3.10-2):
>
> "traceroute forgot to set AF_INET in raw sendmsg. Fix it!"
>
> Also SpamAssassin (3.1.7-1) will segfault when this option is used.
>
> Separate bugs will be failed against these packages, referencing
> this bug.
The option behaves exactly as described. There is no bug there, except
maybe a lack of documentation. Downgrading the severity to minor and
reassigning this bug to the package manpages, with provide this manpage.
I guess a warning should be added.
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' aurel32@debian.org | aurelien@aurel32.net
`- people.debian.org/~aurel32 | www.aurel32.net
Severity set to `minor' from `important'
Request was from Aurelien Jarno <aurelien@aurel32.net>
to control@bugs.debian.org.
(full text, mbox, link).
Bug reassigned from package `libc6' to `manpages'.
Request was from Aurelien Jarno <aurelien@aurel32.net>
to control@bugs.debian.org.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Martin Schulze <joey@debian.org>:
Bug#405694; Package manpages.
(full text, mbox, link).
Acknowledgement sent to Jeroen Massar <jeroen@unfix.org>:
Extra info received and forwarded to list. Copy sent to Martin Schulze <joey@debian.org>.
(full text, mbox, link).
Message #19 received at 405694@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Aurelien Jarno wrote:
> The option behaves exactly as described. There is no bug there, except
> maybe a lack of documentation. Downgrading the severity to minor and
> reassigning this bug to the package manpages, with provide this manpage.
> I guess a warning should be added.
I agree with this.
Though *all* the packages that use this functionality have to be checked
as they will segfault, as shown with the traceroute-nanog package.
I've filed separate bugs to those packages already.
Greets,
Jeroen
[signature.asc (application/pgp-signature, attachment)]
Information forwarded to debian-bugs-dist@lists.debian.org, Martin Schulze <joey@debian.org>:
Bug#405694; Package manpages.
(full text, mbox, link).
Acknowledgement sent to Martin Schulze <joey@infodrom.org>:
Extra info received and forwarded to list. Copy sent to Martin Schulze <joey@debian.org>.
(full text, mbox, link).
Message #24 received at 405694@bugs.debian.org (full text, mbox, reply):
Aurelien Jarno wrote:
> > Adding 'options inet6' in /etc/resolv.conf will cause many programs to
> > crash or misbehave. The documentation currently contains (reformated):
> >
> > inet6 sets RES_USE_INET6 in _res.options. This has the effect
> > of trying a AAAA query before an A query inside the
> > gethostbyname() function, and of mapping IPv4 responses
> > in IPv6 ``tunnelled form'' if no AAAA records are found
> > but an A record set exists.
> >
> > A *big* warning should be given that setting this flag will cause
> > programs to behave strangely, as they will get back an AAAA record
> > and not the expected A record
> >
> >
> > Additionally one could consider to remove this feature as 'tunneled
> > forms', with which most likely ::a.b.c.d or ::ffff:a.b.c.d are meant
> > are deprecated by the IETF as they only cause issues, for instance
> > like these.
> >
> > For instance a 2.6.x kernel will report the following when
> > doing a IPv4 traceroute (pkg: traceroute-nanog 6.3.10-2):
> >
> > "traceroute forgot to set AF_INET in raw sendmsg. Fix it!"
> >
> > Also SpamAssassin (3.1.7-1) will segfault when this option is used.
> >
> > Separate bugs will be failed against these packages, referencing
> > this bug.
>
> The option behaves exactly as described. There is no bug there, except
> maybe a lack of documentation. Downgrading the severity to minor and
> reassigning this bug to the package manpages, with provide this manpage.
> I guess a warning should be added.
Will add:
Index: man5/resolv.conf.5
===================================================================
RCS file: /var/cvs/debian/manpages/man5/resolv.conf.5,v
retrieving revision 1.22
diff -u -p -r1.22 resolv.conf.5
--- man5/resolv.conf.5 30 Jan 2008 17:44:56 -0000 1.22
+++ man5/resolv.conf.5 30 Jan 2008 18:25:32 -0000
@@ -189,6 +189,8 @@ This has the effect of trying a AAAA que
.BR gethostbyname (3)
function, and of mapping IPv4 responses in IPv6 "tunneled form"
if no AAAA records are found but an A record set exists.
+
+Some programs behave strange when this option is turned on.
.RE
.LP
The \fIdomain\fP and \fIsearch\fP keywords are mutually exclusive.
Regards,
Joey
--
Life is too short to run proprietary software. -- Bdale Garbee
Please always Cc to me when replying to me on the lists.
Information forwarded to debian-bugs-dist@lists.debian.org, Martin Schulze <joey@debian.org>:
Bug#405694; Package manpages.
(full text, mbox, link).
Acknowledgement sent to Justin Pryzby <justinpryzby@users.sourceforge.net>:
Extra info received and forwarded to list. Copy sent to Martin Schulze <joey@debian.org>.
(full text, mbox, link).
Message #29 received at 405694@bugs.debian.org (full text, mbox, reply):
On Wed, Jan 30, 2008 at 07:27:17PM +0100, Martin Schulze wrote:
> --- man5/resolv.conf.5 30 Jan 2008 17:44:56 -0000 1.22
> +++ man5/resolv.conf.5 30 Jan 2008 18:25:32 -0000
> @@ -189,6 +189,8 @@ This has the effect of trying a AAAA que
> .BR gethostbyname (3)
> function, and of mapping IPv4 responses in IPv6 "tunneled form"
> if no AAAA records are found but an A record set exists.
> +
> +Some programs behave strange when this option is turned on.
> .RE
> .LP
> The \fIdomain\fP and \fIsearch\fP keywords are mutually exclusive.
That should be: "strangely".
Justin
Reply sent to Martin Schulze <joey@infodrom.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Jeroen Massar <jeroen@unfix.org>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #34 received at 405694-close@bugs.debian.org (full text, mbox, reply):
Source: manpages
Source-Version: 2.76-1
We believe that the bug you reported is fixed in the latest version of
manpages, which is due to be installed in the Debian FTP archive:
manpages-dev_2.76-1_all.deb
to pool/main/m/manpages/manpages-dev_2.76-1_all.deb
manpages_2.76-1.diff.gz
to pool/main/m/manpages/manpages_2.76-1.diff.gz
manpages_2.76-1.dsc
to pool/main/m/manpages/manpages_2.76-1.dsc
manpages_2.76-1_all.deb
to pool/main/m/manpages/manpages_2.76-1_all.deb
manpages_2.76.orig.tar.gz
to pool/main/m/manpages/manpages_2.76.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 405694@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Martin Schulze <joey@infodrom.org> (supplier of updated manpages package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Wed, 30 Jan 2008 22:20:57 +0100
Source: manpages
Binary: manpages manpages-dev
Architecture: source all
Version: 2.76-1
Distribution: unstable
Urgency: low
Maintainer: Martin Schulze <joey@debian.org>
Changed-By: Martin Schulze <joey@infodrom.org>
Description:
manpages - Manual pages about using a GNU/Linux system
manpages-dev - Manual pages about using GNU/Linux for development
Closes: 149554 236671 333871 348072 405694 435018 454007 459232 462636 462969
Changes:
manpages (2.76-1) unstable; urgency=low
.
* New upstream version
. Add 2.6 details for /proc/sys/kernel/random/poolsize to random(4)
(closes: Bug#459232)
* Convert changelog and copyright from latin1 to utf8 (closes: Bug#454007)
* Added override for lintian false positives
* Properly quote ... and 'at the beginning of a line in stdarg(3) and
bootparam(7) (closes: Bug#462636)
* Adjusted proc(5) to not claim using bytes anymore (closes: Bug#462969)
* Improved examples in bsearch(3) and qsort(3), thanks to Falk Hüffner
(closes: Bug#348072)
* Document overriding of certain passwd fields in nsswitch.conf(5),
thanks to Vincent McIntyre (closes: Bug#333871)
* Don't claim running a nameserver on localhost is normal in
resolv.conf(5) (closes: Bug#149554)
* Adjusted the reporting address in ioctl_list(2) (closes: Bug#236671)
* Added a note on inet6 in resolv.conf(5) (closes: Bug#405694)
* Fixed typo in vfork(2) (closes: Bug#435018)
Files:
536f3494b54940ddb2d47abc1cc89215 584 doc important manpages_2.76-1.dsc
7e330eca6fb97c261b30b36684e54101 1277680 doc important manpages_2.76.orig.tar.gz
ec52822323d50e91572168079a30d684 48149 doc important manpages_2.76-1.diff.gz
3abfb14f19dd2e0f0774f0c72df2d701 549796 doc important manpages_2.76-1_all.deb
6f4eacab0716b1b0a82200fb7d158f83 1362732 doc optional manpages-dev_2.76-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHoOwCW5ql+IAeqTIRAhu3AJ9CRr7yXp5iXRv+HKz3ddd9J+1uzACfeUvg
UpzV9T81u1yLTUdq9pYlE0o=
=XC2T
-----END PGP SIGNATURE-----
Information forwarded to debian-bugs-dist@lists.debian.org, Martin Schulze <joey@debian.org>:
Bug#405694; Package manpages.
(full text, mbox, link).
Acknowledgement sent to Martin Schulze <joey@infodrom.org>:
Extra info received and forwarded to list. Copy sent to Martin Schulze <joey@debian.org>.
(full text, mbox, link).
Message #39 received at 405694@bugs.debian.org (full text, mbox, reply):
Justin Pryzby wrote:
> On Wed, Jan 30, 2008 at 07:27:17PM +0100, Martin Schulze wrote:
>
> > --- man5/resolv.conf.5 30 Jan 2008 17:44:56 -0000 1.22
> > +++ man5/resolv.conf.5 30 Jan 2008 18:25:32 -0000
> > @@ -189,6 +189,8 @@ This has the effect of trying a AAAA que
> > .BR gethostbyname (3)
> > function, and of mapping IPv4 responses in IPv6 "tunneled form"
> > if no AAAA records are found but an A record set exists.
> > +
> > +Some programs behave strange when this option is turned on.
> > .RE
> > .LP
> > The \fIdomain\fP and \fIsearch\fP keywords are mutually exclusive.
> That should be: "strangely".
Apparently yes, sorry.
Regards,
Joey
--
Life is a lot easier when you have someone to share it with. -- Sean Perry
Please always Cc to me when replying to me on the lists.
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Fri, 29 Feb 2008 07:33:33 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed Jul 24 08:18:16 2024;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.