Subject: Re: use of share vs lib
To: None <>
From: Kimmo Suominen <>
List: tech-pkg
Date: 08/04/1998 16:12:15
I just ran into this same problem with samba and amanda.  I share /usr/pkg
between all hosts, so I cannot put host-specific files in there.

I modified samba and amanda to respect a few more variables that I can set
in my /etc/mk.conf now:

    AMANDA_CONFDIR= /etc/amanda
    SAMBA_PRIVATE=  /etc
    SAMBA_ETCDIR=   /etc

The question is, what should really be the default.

With samba not all the same shares will be available from all hosts, OTOH
you can include host specific stuff from /usr/pkg/etc/smb.conf (from /etc
or where ever you like).  However, I have not checked how to fix the defs
for printers (that's new stuff for me).

With amanda, though, not all the backup servers run the same dumps, and
I'd hate to keep distributing all the configs everywhere.

+ Kim (Ignatios Souvatzis) writes:

| On Fri, Jul 31, 1998 at 08:05:54PM -0400, Todd Vierling wrote:
| 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.
| 	-is
Kimmo Suominen