Subject: Re: PROPOSAL: Move /usr/pkg/etc to /etc/pkg
To: Vesa Akseli Norrman <vnorrman@niksula.hut.fi>
From: Frederick Bruckman <fredb@immanent.net>
List: tech-pkg
Date: 05/22/2002 10:40:41
On Wed, 22 May 2002, Vesa Akseli Norrman wrote:

> Hello, I think the best would be to have in /etc all configurations, one
> place.

FWIW, I agree.

> If I remember I had lynx config file in /usr/pkg/share... or
> something, it took some time to find it.

Oh no -- you're not supposed to edit *that* file. Instead, put

    INCLUDE:/usr/pkg/share/lynx/lynx.cfg

at the top of your ~/lynx.cfg. Then, any settings that follow
will override the defaults.

In general, if you're having trouble figuring out where a
configuration file lives, the foolproof way is with "ktrace/kdump".

One of the more significant objections to collecting configs in
"/etc", where they'd be easy to find without "ktrace/kdump", is that
it would populate "/etc" with non-parsable, non-editable crud, and the
answer to that, is to move all such crud out of ${PREFIX}/etc to
${PREFIX}/share, where it belongs.

Frederick