[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 Thu, 15 Mar 2001 13:17:13 -0700 (MST)
with message-id <Pine.LNX.3.96.1010315131646.2302J-100000@wakko.deltatee.com>
and subject line Bug#89762: Configuration::ReadConfigFile doesn't behave as documented
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; 15 Mar 2001 20:17:19 +0000
>From jgg@debian.org Thu Mar 15 14:17:19 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 14deBS-0004Dr-00; Thu, 15 Mar 2001 14:17:18 -0600
Received: (qmail 21807 invoked from network); 15 Mar 2001 20:17:13 -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 <doogie@rlx.doogie.org>; 15 Mar 2001 20:17:13 -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 14deBN-00013x-00; Thu, 15 Mar 2001 13:17:13 -0700
Date: Thu, 15 Mar 2001 13:17:13 -0700 (MST)
From: Jason Gunthorpe <jgg@debian.org>
X-Sender: jgg@wakko.deltatee.com
To: Adam Heath <doogie@rlx.doogie.org>, 89762-done@bugs.debian.org
cc: APT Development Team <deity@lists.debian.org>
Subject: Re: Bug#89762: Configuration::ReadConfigFile doesn't behave as documented
In-Reply-To: <20010315113450.B457@debian-devel1>
Message-ID: <Pine.LNX.3.96.1010315131646.2302J-100000@wakko.deltatee.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Delivered-To: 89762-done@bugs.debian.org


On Thu, 15 Mar 2001, Adam Heath wrote:

>    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 
     ^^^^^^^^^^^^^^^^^^^^^^

apt.conf is not a sectional config file.

Jason



Reply to: