[Pkg-exim4-users] question about update-exim4.conf manpage
Andreas Metzler
ametzler at downhill.at.eu.org
Sun May 21 18:14:02 UTC 2006
On 2006-05-21 Ross Boylan <ross at biostat.ucsf.edu> wrote:
> On Sun, May 21, 2006 at 10:57:29AM +0200, Andreas Metzler wrote:
>> On 2006-05-20 Ross Boylan <ross at biostat.ucsf.edu> wrote:
>>> The man page for update-exim4.conf says, in part
> 1)
>>> If update-exim4.conf is called without the option -o, it
>>> checks the validity of the freshly generated configuration file and
>>> exits with an error. In that case, the new file is
>>> not installed to /var/lib/exim4/config.autogenerated.
>>> Is that the intended meaning? My guess is the intended meaning is
> 2)
>>> If update-exim4.conf detects that the freshly generated configuration
>>> file is invalid it exits with an error. Unless the -o option was
>>> given, the old output file is retained.
>> Hej,
> 3)
>> Afaict the documentation is correct, update-exim4.conf does not check
>> the validity if -o is given and does not exit with an error if -o is
>> given and the file is invalid:
[ snip]
> My original concern was that 1) literally means an error exit *always*
> occurs, even if the file is valid. The new file is *never* installed
> (since "in that case" refers to something that always happens).
I can see the problem now.
> 2) validity is checked and an error exit occurs if the generated file
> is invalid. If there is an error, the old file is retained;
> otherwise, the new one is installed.
> 3) gives no information on this case
[...]
How about:
(Only) if update-exim4.conf is called without the option -o, it
checks the validity of the freshly generated configuration file. If
the new file is invalid it is not installed to
/var/lib/exim4/config.autogenerated and update-exim4.conf exits with
an error.
cu and- no native speaker -reas
--
The 'Galactic Cleaning' policy undertaken by Emperor Zhark is a personal
vision of the emperor's, and its inclusion in this work does not constitute
tacit approval by the author or the publisher for any such projects,
howsoever undertaken. (c) Jasper Ffforde
More information about the Pkg-exim4-users
mailing list