Bug#337229: exim4-config: update-exim4.conf ignores dc_use_split_config if -d|--confdir is used

Ted Percival ted at midg3t.net
Sat Nov 5 00:41:11 UTC 2005


Inline responses follow.

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

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

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

-Ted
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-exim4-maintainers/attachments/20051105/d6f2a3f1/signature.pgp


More information about the Pkg-exim4-maintainers mailing list