Bug#265654: marked as done (exim4-config: dc_use_split_config='false' doesn't work)

Debian Bug Tracking System owner@bugs.debian.org
Sat, 14 Aug 2004 04:03:15 -0700


Your message dated Sat, 14 Aug 2004 12:54:22 +0200
with message-id <20040814105422.GA2228@downhill.at.eu.org>
and subject line Bug#265654: exim4-config: dc_use_split_config='false' doesn't work
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.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 14 Aug 2004 10:08:20 +0000
>From jhecking@netgaroo.com Sat Aug 14 03:08:20 2004
Return-path: <jhecking@netgaroo.com>
Received: from port-212-202-25-111.dynamic.qsc.de (khorat.jh.netgaroo.com) [212.202.25.111] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BvvSW-0001EU-00; Sat, 14 Aug 2004 03:08:20 -0700
Received: from jhecking by khorat.jh.netgaroo.com with local (Exim 4.34)
	id 1BvvRp-00044B-Nx
	for submit@bugs.debian.org; Sat, 14 Aug 2004 12:07:37 +0200
Date: Sat, 14 Aug 2004 12:07:37 +0200
From: Jan Peter Hecking <jhecking@netgaroo.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: exim4-config: dc_use_split_config='false' doesn't work
Message-ID: <20040814100737.GA15565@jh.netgaroo.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Reportbug-Version: 2.64
X-GPG-Fingerprint: 1DF4 4E80 6FD6 703C 7B4A  2D46 F445 3692 44A1 E946
User-Agent: Mutt/1.5.6+20040803i
Sender: Jan Peter Hecking <jhecking@netgaroo.com>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	RCVD_IN_DSBL autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: exim4-config
Version: 4.34-5
Severity: normal

I'd like to keep all exim4 configuration in a single file but the
debconf option "exim4/use_split_config: false" doesn't seem to have any
effect. I've tried both dpkg-reconfigure exim4-config and running
update-exim4.conf manually but it always writes the configuration
to /etc/exim4/conf.d ignoring the use_split_config setting.

Jan


-- Package-specific info:

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.22-mh2
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro

Versions of packages exim4-config depends on:
ii  adduser                       3.59       Add and remove users and groups
ii  debconf [debconf-2.0]         1.4.30     Debian configuration management sy
ii  passwd                        1:4.0.3-30 Change and administer password and

-- debconf information:
  exim4/dc_smarthost:
* exim4/dc_relay_domains:
  exim4/exim3_upgrade: true
* exim4/dc_eximconfig_configtype: internet site; mail is sent and received directly using SMTP
  exim4/dc_readhost:
  exim4/exim4-config-title:
  exim4/dc_noalias_regenerate: false
* exim4/dc_relay_nets: 192.168.0.0/16
* exim4/mailname: jh.netgaroo.com
* exim4/dc_local_interfaces: 0.0.0.0
* exim4/dc_minimaldns: false
* exim4/dc_other_hostnames: khorat.jh.netgaroo.com:port-212-202-25-111.dynamic.qsc.de
  exim4/no_config: true
  exim4/hide_mailname:
  exim4/dc_postmaster: none
* exim4/use_split_config: false

- 
Jan Peter Hecking
mailto:jhecking@netgaroo.com
http://jhecking.netgaroo.com

---------------------------------------
Received: (at 265654-done) by bugs.debian.org; 14 Aug 2004 10:54:30 +0000
>From ametzler@downhill.at.eu.org Sat Aug 14 03:54:30 2004
Return-path: <ametzler@downhill.at.eu.org>
Received: from server.logic.univie.ac.at [131.130.190.41] ([lQaUN72w8uavZTs5eYQ7uiS69v932vIc])
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BvwBC-0004Sz-00; Sat, 14 Aug 2004 03:54:30 -0700
Received: from m-134-246.adsl.univie.ac.at ([131.130.134.246])
	by server.logic.univie.ac.at with asmtp (Exim 4.34)
	id 1BvwB6-0006BL-Ct
	for 265654-done@bugs.debian.org; Sat, 14 Aug 2004 12:54:26 +0200
Received: from ametzler by downhill.univie.ac.at with local (Exim 4.34)
	id 1BvwB5-0000aA-JR
	for 265654-done@bugs.debian.org; Sat, 14 Aug 2004 12:54:23 +0200
Date: Sat, 14 Aug 2004 12:54:22 +0200
From: Andreas Metzler <ametzler@downhill.at.eu.org>
To: 265654-done@bugs.debian.org
Subject: Re: Bug#265654: exim4-config: dc_use_split_config='false' doesn't work
Message-ID: <20040814105422.GA2228@downhill.at.eu.org>
References: <20040814100737.GA15565@jh.netgaroo.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20040814100737.GA15565@jh.netgaroo.com>
X-GPG-Fingerprint: BCF7 1345 BE42 B5B8 1A57  EE09 1D33 9C65 8B8D 7663
User-Agent: Mutt/1.5.6+20040722i
Delivered-To: 265654-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

On 2004-08-14 Jan Peter Hecking <jhecking@netgaroo.com> wrote:
> Package: exim4-config
> Version: 4.34-5
> Severity: normal

> I'd like to keep all exim4 configuration in a single file but the
> debconf option "exim4/use_split_config: false" doesn't seem to have any
> effect. I've tried both dpkg-reconfigure exim4-config and running
> update-exim4.conf manually but it always writes the configuration
> to /etc/exim4/conf.d ignoring the use_split_config setting.
[...]

You are misunderstanding the effect of "exim4/use_split_config:
false". It does not *delete* the files in conf.d, instead it changes
where the configuration are pulled from. - If yiou set it to false the
config is pulled from exim4.conf.template, if you set it to true from
the files in conf.d.

Quoting /usr/share/doc/exim4-base/README.Debian.gz
| How does this work? Exim cannot handle the gazillion files or parse
| /etc/exim4/update-exim4.conf.conf.
| ------
| The script update-exim4.conf does the work.
| 
| Depending on the value of dc_use_split_config, it either
| - takes all the files below /etc/exim4/conf.d/ and concatenates
|   them together or
| - uses exim4.conf.template as input.
| 
| The debconf-managed information from /etc/exim4/update-exim4.conf.conf
| is merged into the generated configuration file. Strings like
| DEBCONFfooDEBCONF are replaced by the value that is set in
| /etc/exim4/update-exim4.conf.conf for the keyword dc_foo.
| 
| DEBCONFsmarthostDEBCONF, for example, is replaced with the value of
| $dc_smarthost in /etc/exim4/update-exim4.conf.conf which holds the
| answer to "Which machine will act as the smarthost and handle outgoing
| mail?"
| 
| The result of these operations is saved as
| /var/lib/exim4/config.autogenerated, which is _NOT_ a dpkg-conffile!
| Manual changes to this file will be overwritten by update-exim4.conf.
| 
| Please consult the manpage of update-exim4.conf for more detailed
| information.

             cu andreas
-- 
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"