Debian Bug report logs - #933000
resolv.conf(5): refers to MAXNS in <resolv.h>, but it's in res_state.h now

version graph

Package: manpages; Maintainer for manpages is Dr. Tobias Quathamer <[email protected]>; Source for manpages is src:manpages (PTS, buildd, popcon).

Reported by: Axel Beckert <[email protected]>

Date: Thu, 25 Jul 2019 17:21:12 UTC

Severity: normal

Found in version manpages/5.01-1

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], [email protected], Martin Schulze <[email protected]>:
Bug#933000; Package manpages. (Thu, 25 Jul 2019 17:21:14 GMT) (full text, mbox, link).


Acknowledgement sent to Axel Beckert <[email protected]>:
New Bug report received and forwarded. Copy sent to [email protected], Martin Schulze <[email protected]>. (Thu, 25 Jul 2019 17:21:14 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Axel Beckert <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: resolv.conf(5): refers to MAXNS in <resolv.h>, but it's in res_state.h now
Date: Thu, 25 Jul 2019 19:15:21 +0200
Package: manpages
Version: 5.01-1
Severity: normal
File: /usr/share/man/man5/resolv.conf.5.gz

Hi,

resolv.conf(5); states:

       nameserver Name server IP address
              Internet address of a name server that the resolver should
              query, either an IPv4 address (in dot notation), or an
              IPv6 address in colon (and possibly dot) notation as per
              RFC 2373.  Up to MAXNS (currently 3, see <resolv.h>) name
              servers may be listed, one per keyword.
But:

$ fgrep MAXNS /usr/include/resolv.h
$

It seems to be in /usr/include/$TRIPLET/bits/types/res_state.h now:

$ fgrep MAXNS -r /usr/include/
/usr/include/x86_64-linux-gnu/bits/types/res_state.h:#define MAXNS                      3       /* max # name servers we'll track */
[…]

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'testing'), (500, 'unstable-debug'), (500, 'buildd-unstable'), (110, 'experimental'), (1, 'experimental-debug'), (1, 'buildd-experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

manpages depends on no packages.

manpages recommends no packages.

Versions of packages manpages suggests:
ii  man-db [man-browser]  2.8.5-2

-- no debconf information



Information forwarded to [email protected], Martin Schulze <[email protected]>:
Bug#933000; Package manpages. (Mon, 29 Jul 2019 11:48:03 GMT) (full text, mbox, link).


Acknowledgement sent to "Michael Kerrisk (man-pages)" <[email protected]>:
Extra info received and forwarded to list. Copy sent to Martin Schulze <[email protected]>. (Mon, 29 Jul 2019 11:48:03 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: "Michael Kerrisk (man-pages)" <[email protected]>
To: Axel Beckert <[email protected]>, [email protected], Debian Bug Tracking System <[email protected]>
Cc: [email protected]
Subject: Re: Bug#933000: resolv.conf(5): refers to MAXNS in <resolv.h>, but it's in res_state.h now
Date: Mon, 29 Jul 2019 13:44:26 +0200
On 7/25/19 7:15 PM, Axel Beckert wrote:
> Package: manpages
> Version: 5.01-1
> Severity: normal
> File: /usr/share/man/man5/resolv.conf.5.gz
> 
> Hi,
> 
> resolv.conf(5); states:
> 
>        nameserver Name server IP address
>               Internet address of a name server that the resolver should
>               query, either an IPv4 address (in dot notation), or an
>               IPv6 address in colon (and possibly dot) notation as per
>               RFC 2373.  Up to MAXNS (currently 3, see <resolv.h>) name
>               servers may be listed, one per keyword.
> But:
> 
> $ fgrep MAXNS /usr/include/resolv.h
> $
> 
> It seems to be in /usr/include/$TRIPLET/bits/types/res_state.h now:
> 
> $ fgrep MAXNS -r /usr/include/
> /usr/include/x86_64-linux-gnu/bits/types/res_state.h:#define MAXNS                      3       /* max # name servers we'll track */

Upstream maintainer here...

This report is invalid. <resolv.h> includes bits/types/res_state.h

I suggest closing this bug.

Thanks,

Michael


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/



Information forwarded to [email protected], Martin Schulze <[email protected]>:
Bug#933000; Package manpages. (Mon, 29 Jul 2019 11:48:05 GMT) (full text, mbox, link).


Acknowledgement sent to "Michael Kerrisk (man-pages)" <[email protected]>:
Extra info received and forwarded to list. Copy sent to Martin Schulze <[email protected]>. (Mon, 29 Jul 2019 11:48:05 GMT) (full text, mbox, link).


Information forwarded to [email protected], Dr. Tobias Quathamer <[email protected]>:
Bug#933000; Package manpages. (Fri, 06 Nov 2020 11:51:03 GMT) (full text, mbox, link).


Acknowledgement sent to [email protected]:
Extra info received and forwarded to list. Copy sent to Dr. Tobias Quathamer <[email protected]>. (Fri, 06 Nov 2020 11:51:03 GMT) (full text, mbox, link).


Message #20 received at [email protected] (full text, mbox, reply):

From: "Michael Kerrisk (man-pages)" <[email protected]>
To: Axel Beckert <[email protected]>, [email protected], Debian Bug Tracking System <[email protected]>
Subject: Re: Bug#933000: resolv.conf(5): refers to MAXNS in <resolv.h>, but it's in res_state.h now
Date: Fri, 6 Nov 2020 12:46:42 +0100
tags 933000 wontfix
thanks

Upstream maintainer here. As I previously explained, this is not a
valid bug report, and should be closed.



Information forwarded to [email protected], Dr. Tobias Quathamer <[email protected]>:
Bug#933000; Package manpages. (Fri, 06 Nov 2020 11:51:04 GMT) (full text, mbox, link).


Acknowledgement sent to [email protected]:
Extra info received and forwarded to list. Copy sent to Dr. Tobias Quathamer <[email protected]>. (Fri, 06 Nov 2020 11:51:04 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 13:20:39 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General 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.