Bug#606767: bind9: man pages and doc files wrongly use /etc/ instead of /etc/bind/

2021-05-21 Thread Athos Ribeiro

Hello,

This bug is still valid in unstable. However, the patch provided
previously no longer applies for the issue.

I filed a MR in salsa [1] and forwarded the patch upstream [2].

[1] https://salsa.debian.org/dns-team/bind9/-/merge_requests/16
[2] https://gitlab.isc.org/isc-projects/bind9/-/issues/2717

--
Athos Ribeiro



Bug#606767: bind9: man pages and doc files wrongly use /etc/ instead of /etc/bind/

2010-12-11 Thread Peter Marschall
Package: bind9
Version: 1:9.7.2.dfsg.P3-1
Severity: normal
Tags: patch

Hi,

all man pages and documentation fiels referring to
named.conf, rndc.conf and rndc.key wrongly claim that
these files are to be found in /etc/ instead of /etc/bind/.

The attached pach fixes the issue.

Please note:
This bug is related although not identical to #260759
Closing this bug also closes #260759

Best regards
Peter



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

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bind9 depends on:
ii  adduser3.112+nmu2add and remove users and groups
ii  bind9utils 1:9.7.2.dfsg.P3-1 Utilities for BIND
ii  debconf [debconf-2.0]  1.5.36Debian configuration management sy
ii  libbind9-601:9.7.2.dfsg.P3-1 BIND9 Shared Library used by BIND
ii  libc6  2.11.2-7  Embedded GNU C Library: Shared lib
ii  libcap21:2.19-3  support for getting/setting POSIX.
ii  libdb4.8   4.8.30-2  Berkeley v4.8 Database Libraries [
ii  libdns69   1:9.7.2.dfsg.P3-1 DNS Shared Library used by BIND
ii  libgssapi-krb5-2   1.8.3+dfsg-3  MIT Kerberos runtime libraries - k
ii  libisc62   1:9.7.2.dfsg.P3-1 ISC Shared Library used by BIND
ii  libisccc60 1:9.7.2.dfsg.P3-1 Command Channel Library used by BI
ii  libisccfg621:9.7.2.dfsg.P3-1 Config File Handling Library used 
ii  libldap-2.4-2  2.4.23-7pm1   OpenLDAP libraries
ii  liblwres60 1:9.7.2.dfsg.P3-1 Lightweight Resolver Library used 
ii  libssl0.9.80.9.8o-3  SSL shared libraries
ii  libxml22.7.8.dfsg-1  GNOME XML library
ii  lsb-base   3.2-23.1  Linux Standard Base 3.2 init scrip
ii  net-tools  1.60-23   The NET-3 networking toolkit
ii  netbase4.43  Basic TCP/IP networking system

bind9 recommends no packages.

Versions of packages bind9 suggests:
ii  bind9-doc  1:9.7.2.dfsg.P3-1 Documentation for BIND
ii  dnsutils   1:9.7.2.dfsg.P3-1 Clients provided with BIND
pn  resolvconf none(no description available)
pn  ufwnone(no description available)

-- Configuration Files:
/etc/bind/named.conf.local changed [not included]
/etc/bind/named.conf.options changed [not included]

-- debconf information:
  bind9/different-configuration-file:
  bind9/run-resolvconf: false
  bind9/start-as-user: bind

-- debsums errors found:
debsums: changed file /usr/share/bind9/bind9-default.md5sum (from bind9 package)
# bind9-correct-sysconfdir-in-doc+man.patch
#
# this patch was created using the following script:
#
#  #!/bin/sh
#  ALL_DOC_FILES=$(find bind9-9.7.2.dfsg.P3/ -name \*.docbook -o -name \*.html 
-o -name \*.[1-9])
#  AFFECTED_DOC_FILES=$(grep -l -e /etc/named.conf -e /etc/rndc.key -e 
/etc/rndc.conf ${ALL_DOC_FILES})
#  for file in $AFFECTED_DOC_FILES; do 
#   cp -a $file ${file}.orig
#   sed -e 's:/etc/named.conf:/etc/bind/named.conf:g' \
#   -e 's:/etc/rndc.key:/etc/bind/rndc.key:g' \
#   -e 's:/etc/rndc.conf:/etc/bind/rndc.conf:g'  ${file}.orig  
$file
#   diff -ub ${file}.orig $file  
bind9-correct-sysconfdir-in-doc+man.patch
#  done
#  exit


--- bind9-9.7.2.dfsg.P3/contrib/nslint-2.1a3/nslint.8   2001-12-21 
05:12:03.0 +0100
+++ bind9-9.7.2.dfsg.P3/contrib/nslint-2.1a3/nslint.8   2010-12-11 
16:26:03.421127563 +0100
@@ -108,7 +108,7 @@
 Specify an alternate
 .I named.conf
 file. The default is
-.IR /etc/named.conf .
+.IR /etc/bind/named.conf .
 .TP
 .B -B
 Specify an alternate
--- bind9-9.7.2.dfsg.P3/doc/arm/man.named.html  2010-08-20 04:40:26.0 
+0200
+++ bind9-9.7.2.dfsg.P3/doc/arm/man.named.html  2010-12-11 16:26:03.428490399 
+0100
@@ -60,7 +60,7 @@
   When invoked without arguments, spanstrong 
class=commandnamed/strong/span
   will
   read the default configuration file
-  code class=filename/etc/named.conf/code, read any initial
+  code class=filename/etc/bind/named.conf/code, read any initial
   data, and listen for queries.
 /p
 /div
@@ -83,7 +83,7 @@
 ddp
 Use em class=replaceablecodeconfig-file/code/em as the
 configuration file instead of the default,
-code class=filename/etc/named.conf/code.  To
+code class=filename/etc/bind/named.conf/code.  To
 ensure that reloading the configuration file continues
 to work after the server has changed its working
 directory due to to a possible
@@ -286,7 +286,7 @@
 div class=refsect1 lang=en
 a name=id2673580/ah2FILES/h2
 div class=variablelistdl