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

Bug#89762: marked as done (Configuration::ReadConfigFile doesn't behave as documented)



Your message dated Mon, 20 Aug 2001 22:46:30 -0600 (MDT)
with message-id <Pine.LNX.3.96.1010820224454.12485A-100000@wakko.deltatee.com>
and subject line Fixed in apt 0.5.4
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 15 Mar 2001 17:34:52 +0000
>From doogie@rlx.doogie.org Thu Mar 15 11:34:52 2001
Return-path: <doogie@rlx.doogie.org>
Received: from outrout.rocketlogix.com (debian-devel1) [65.66.195.253] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 14dbeG-0000WG-00; Thu, 15 Mar 2001 11:34:52 -0600
Received: from doogie by debian-devel1 with local (Exim 3.22 #1 (Debian))
	id 14dbeF-0003a8-00
	for <submit@bugs.debian.org>; Thu, 15 Mar 2001 11:34:51 -0600
Date: Thu, 15 Mar 2001 11:34:50 -0600
To: submit@bugs.debian.org
Subject: Configuration::ReadConfigFile doesn't behave as documented
Message-ID: <20010315113450.B457@debian-devel1>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.15i
From: Adam Heath <doogie@rlx.doogie.org>
Delivered-To: submit@bugs.debian.org

Package: apt
Version: cvs as of Thu Mar 15 17:29:54 UTC 2001

// ReadConfigFile - Read a configuration file                           /*{{{*/
// ---------------------------------------------------------------------
/* The configuration format is very much like the named.conf format
   used in bind8, in fact this routine can parse most named.conf files. 
   Sectional config files are like bind's named.conf where there are 
   sections like 'zone "foo.org" { .. };' This causes each section to be
   added in with a tag like "zone::foo.org" instead of being split 
   tag/value. */

Yet, doing the following:

doogie@debian-devel1:~/rlx/netinst$ apt-config -c /etc/bind/named.conf dump
...
options "";
options::directory "/var/cache/bind";
options::forwarders "";
options::forwarders:: "192.168.3.100";
options::forwarders:: "10.1.1.31";
logging "";
logging::category "cname";
logging::category:: "null";
logging::category:: "null";
zone "255.in-addr.arpa";
zone::type "master";
zone::file "/etc/bind/db.255";
--

According to the docs, that last block should look like this:

--
zone::255.in-addr.arpa "";
zone::255.in-addr.arpa::type "master";
zone::255.in-addr.arpa::file "/etc/bind/db.255";
--

And there should be several zone entries as well, instead of overwriting
them all.

It also affects the logging block, which looks like this in named.conf:

--
logging {
        category lame-servers { null; };
        category cname { null; };
};
--

It should have those looking like the following:

--
logging::category::lame-servers "";
logging::category::lame-servers:: "null";
logging::category::cname "";
logging::category::cname:: "null";
--

---------------------------------------
Received: (at 89762-done) by bugs.debian.org; 21 Aug 2001 04:46:42 +0000
>From jgg@debian.org Mon Aug 20 23:46:42 2001
Return-path: <jgg@debian.org>
Received: from cast-ext.ab.videon.ca [206.75.216.34] 
	by master.debian.org with smtp (Exim 3.12 1 (Debian))
	id 15Z3R3-0000yW-00; Mon, 20 Aug 2001 23:46:42 -0500
Received: (qmail 1390 invoked from network); 21 Aug 2001 04:46:39 -0000
Received: from unknown (HELO wakko.deltatee.com) ([24.108.173.63]) (envelope-sender <jgg@debian.org>)
          by cast-ext.ab.videon.ca (qmail-ldap-1.03) with SMTP
          for <56708-done@bugs.debian.org>; 21 Aug 2001 04:46:39 -0000
Received: from localhost
	([127.0.0.1] helo=wakko.deltatee.com ident=jgg)
	by wakko.deltatee.com with smtp (Exim 3.16 #1 (Debian))
	id 15Z3Qt-0003KS-00; Mon, 20 Aug 2001 22:46:31 -0600
Date: Mon, 20 Aug 2001 22:46:30 -0600 (MDT)
From: Jason Gunthorpe <jgg@debian.org>
X-Sender: jgg@wakko.deltatee.com
To: 56708-done@bugs.debian.org, 59432-done@bugs.debian.org, 
    65691-done@bugs.debian.org, 86954-done@bugs.debian.org, 
    88913-done@bugs.debian.org, 89066-done@bugs.debian.org, 
    89066-done@bugs.debian.org, 89121-done@bugs.debian.org, 
    89152-done@bugs.debian.org, 89671-done@bugs.debian.org, 
    89762-done@bugs.debian.org, 89854-done@bugs.debian.org, 
    90027-done@bugs.debian.org, 92025-done@bugs.debian.org, 
    92033-done@bugs.debian.org, 92757-done@bugs.debian.org, 
    93057-done@bugs.debian.org, 93652-done@bugs.debian.org, 
    94286-done@bugs.debian.org, 94618-done@bugs.debian.org, 
    95823-done@bugs.debian.org, 97364-done@bugs.debian.org, 
    97520-done@bugs.debian.org, 97520-done@bugs.debian.org, 
    97809-done@bugs.debian.org, 98272-done@bugs.debian.org, 
    98353-done@bugs.debian.org, 98468-done@bugs.debian.org, 
    98695-done@bugs.debian.org, 98928-done@bugs.debian.org, 
    99671-done@bugs.debian.org, 99974-done@bugs.debian.org, 
    100046-done@bugs.debian.org, 100325-done@bugs.debian.org, 
    100590-done@bugs.debian.org, 101071-done@bugs.debian.org, 
    101565-done@bugs.debian.org, 102293-done@bugs.debian.org, 
    102421-done@bugs.debian.org, 102867-done@bugs.debian.org, 
    102951-done@bugs.debian.org, 103020-done@bugs.debian.org, 
    105377-done@bugs.debian.org, 105606-done@bugs.debian.org, 
    106591-done@bugs.debian.org, 106911-done@bugs.debian.org, 
    106914-done@bugs.debian.org, 107362-done@bugs.debian.org, 
    107362-done@bugs.debian.org, 107395-done@bugs.debian.org, 
    107395-done@bugs.debian.org, 108968-done@bugs.debian.org
Subject: Fixed in apt 0.5.4
Message-ID: <Pine.LNX.3.96.1010820224454.12485A-100000@wakko.deltatee.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Delivered-To: 89762-done@bugs.debian.org

 apt (0.5.4) unstable; urgency=low
 
   * M68k config.guess patch. Closes: #88913
   * Bi-yearly test on OpenBSD and Solaris
   * Doc updates. Closes: #89121, #89854, #99671, #98353, #95823, #93057,
           #97520, #102867, #101071, #102421, #101565, #98272, #106914,
           #105606, #105377
   * Various cosmetic code updates. Closes: #89066, #89066, #89152
   * Add "pre-auto" as an option for DSelect::Clean (run autoclean after
     update).
   * More patches from Alfredo for Vendors and more SHA-1 stuff
   * Fix for AJ's 'desire to remove perl-5.005' and possibly other
     similar situations. Closes: #56708, #59432
   * no_proxy and ftp. Closes: #89671
   * Philippe Batailler's man page patches.
   * Fix for display bug. Closes: #92033, #93652, #98468
   * Use more than 16bits for the dep ID. Some people ran out..
     Closes: #103020, #97809, #102951, #99974, #107362, #107395, #107362,
             #106911, #107395, #108968
   * Reordered some things to make dante and FTP happier. Closes: #92757
   * James R. Van Zandt's guide.sgml updates. Closes: #90027
   * apt-ftparchive copes with no uncompressed package files + contents.
   * French man pages from philippe batailler - well sort of. They
     don't build yet..
   * run-parts. Closes: #94286
   * 'apt-cache policy' preferences debug tool.
   * Whatever. Closes: #89762
   * libstdc++ and HURD. Closes: #92025
   * More apt-utils verbage. Closes: #86954
   * Fliped comparision operator. Closes: #94618
   * Used the right copyright file. Closes: #65691
   * Randolph's G++3 patches.
   * Fixed no_proxy tokanizing. Closes: #100046
   * Strip Config-Version when copying status to available. Closes: #97520
   * Segfault with missing source files. Closes: #100325
   * EINTR check. Closes: #102293
   * Various changes to the locking metholodgy for --print-uris.
     Closes: #100590
   * Lame LD_LIBRARY_PATH thing. Closes: #98928
   * apt-cache search searchs provide names too now. Closes: #98695
   * Checksum and long lines problem. Closes: #106591
   * .aptignr and empty files are just a warning. Closes: #97364




Reply to: