Subject: Re: use of share vs lib
To: <>
From: Ignatios Souvatzis <>
List: tech-pkg
Date: 08/03/1998 10:20:09
On Fri, Jul 31, 1998 at 08:05:54PM -0400, Todd Vierling wrote:
> On Fri, 31 Jul 1998, Perry E. Metzger wrote:
> : > Look at a pkg like ssh.  It installs a bunch of binaries, then generates it's
> : > magical key, and installs config files in /etc.
> : 
> : And btw, it MUST leave those files in /etc/ for configuration reasons.
> That's not necessarily true.  I was always of the opinion that we should
> have adopted FreeBSD's convention of putting them in ${PREFIX}/etc - after
> all, everything else has its config info there, so why not ssh?

Because it might _want_ to have different configuration from machine
to machine. E.g., wether you share /etc/ssh_known_hosts or not is an
administrative decision... if you want to share it, write that
decision into /etc/ssh{,d}_config.

At most, leave /etc/ssh{,d}_config in /etc, and make it point to the
shared files.