Re: [Exim] Exim -C and child inheritence of the config file

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Tamas TEVESZ
CC: Sheldon Hearn, exim-users
Subject: Re: [Exim] Exim -C and child inheritence of the config file
On Tue, 23 Apr 2002, Tamas TEVESZ wrote:

> On Tue, 23 Apr 2002, Sheldon Hearn wrote:
>
> > My question is whether they read that config file off disk when they
> > start up, and whether what they take from it is used unmodified by any
> > interaction with the parent.
>
> you mean, like:
>
> 1. master process starting up, reading conffile, parsing, etc., doing
> stuff
> <slight pause while>
> 2. the very same conffile being modified
> 3. master process wakes up to exec a child with referring to the same
> file it was called with
>
> ? and is the question here, what config does the child run ?
>
> if yes, i don't know :), but i'd say that it does pick up a modified
> one... but that's just feelings.


Yes. Every new exec of Exim reads the file.

The answer to Sheldon's second question is less clear. What exactly do
you mean by "used unomdified by any interaction with the parent"? If,
for example, the parent was called with -D options, it will pass those
on to the child, and they may modify what is in the config file.

The intent is that, assuming the file on disc is NOT edited, the child
will start off with the same configuration as the parent did, including
any -C and -D modifications, and other settings such as -d, -N, etc.



--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.