Bug#337229: exim4-config: update-exim4.conf ignores
dc_use_split_config if -d|--confdir is used
Marc Haber
mh+debian-packages at zugschlus.de
Mon Nov 14 13:32:04 UTC 2005
On Sat, Nov 05, 2005 at 10:41:11AM +1000, Ted Percival wrote:
> >>When update-exim4.conf is run with the -d|--confdir option, it uses the
> >>conf.d directory regardless of whether update-exim4.conf.conf has
> >>dc_use_split_config set to false.
> >
> > Actually, it uses the setting from /etc/exim4/update-exim4.conf.conf
> > in any case regardless of --confdir being used. I fixed this in svn,
> > please try the attached patch.
>
> That didn't seem to be the case, but the patched script works properly
> now, thank you.
Good.
> >>Furthermore update-exim4.conf dies if the conf.d directory doesn't exist
> >>even though dc_use_split_config is false
> >
> > But it does die with a clear error message, right?
>
> It does.
So it is not misleading.
> I don't think the conf.d directory need exist if the single
> configuration file is being used (dc_use_split_config='false') and vice
> versa.
I happen to disagree. exim4.conf.template and exim4/conf.d belong
together, exim4.conf.template is generated from exim4/conf.d at
package build time and at the local user's request.
> One instance I can see it happening in is with one mail server I
> set up, I kept different configurations in different directories, thus
> to get around that message I would have to symlink (or copy) the conf.d
> directory even though it was not being used. Considering that's a
> workaround, it would probably be better to modify the script's behaviour
> so no workaround would be necessary.
However, I have changed update-exim4.conf to only flag this case as an
error if split config is actually selected in svn.
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
More information about the Pkg-exim4-maintainers
mailing list