[OpenAFS-devel] parsing program options from config file(s)

Derrick Brashear shadow@gmail.com
Tue, 31 Jul 2012 12:06:01 -0400


On Tue, Jul 31, 2012 at 10:31 AM, chas williams - CONTRACTOR
<chas@cmf.nrl.navy.mil> wrote:

> i like having the afs server binaries in /usr/afs instead of in a place
> a user might typically have in their search path (yes, i know -- dont
> have users on your fileservers) i dont really enjoy having the config
> files there.  how about an option (like -C/--configpath) to tell the
> servers where to look for the config files and then in the config files
> i could further configuration locations of things like '/usr/afs/db'.

i should copy out the discussion from gerrit:
it specifies a call to getDirPath(); i'd rather have this get fixed by
having (some other patch) override the relevant dirpath entries
instead of expecting every daemon to have the same code to perform
such overrides... and this patch will just work once such a thing is
added, as long as all daemons which honor a -confdir parameter
(currently at least ptserver and vlserver) actually so apply it.
-- 
Derrick