Subject: Re: Default for PKG_SYSCONFBASE
To: Julio M. Merino Vidal <>
From: Greg A. Woods <>
List: tech-pkg
Date: 06/04/2007 15:12:27
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

At Sun, 3 Jun 2007 17:20:28 +0200, Julio M. Merino Vidal wrote:
Subject: Default for PKG_SYSCONFBASE
> I've found it weird for a very long time already that the default =20

Indeed.  That default is completely bogus.

> So I propose we change the default PKG_SYSCONFBASE from PREFIX/etc to =20
> point to /etc/pkg.  What would you think of such change?

I would think it is slightly wrong.

The best, and correct, setting for PKG_SYSCONFBASE is simply "/etc", and
nothing more.  (i.e. in the same way VARBASE=3D/var)

There is no need, and indeed it is counter-productive in so many ways,
to artificially isolate the configuration files for packages in any way.

This is especially important for any package which might update or
replace any built-in component on the base OS which already keeps its
local configuration files in /etc.

Keep in mind too that pkgsrc is intended to be portable.  Any platform
it works on may have any (or many) package(s) included in their base and
so packages should, by default, always simply use PKG_SYSCONFBASE=3D/etc.

						Greg A. Woods

H:+1 416 218-0098 W:+1 416 489-5852 x122 VE3TCP RoboHack <>
Planix, Inc. <>       Secrets of the Weird <>

Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

Version: PGPfreeware 5.0i for non-commercial use
MessageID: DsE3uXSXrP71I+GqbbLfQ9O6p9JlGHmR