Subject: Re: Changing from /var/db/pkg
To: Julio M. Merino Vidal <>
From: Curt Sampson <>
List: tech-pkg
Date: 03/05/2005 18:37:22
On Sat, 5 Mar 2005, Julio M. Merino Vidal wrote:

> Not under etc, please.  First of all because nothing should use
> ${LOCALBASE}/etc directly.

Isn't that a foregone cause? Last I looked, tons of stuff installed from
pkgsrc defaulted to ${LOCALBASE}/etc for configuration information.

> And placing it under ${PKG_SYSCONFDIR}
> could leave us with the previous scheme we had (files outside LOCALBASE
> in several systems.

Right; I definitely don't want it there.

> Furthermore, I don't see them as configuration files; they are extra
> information associated with the installed packages. And you should
> never have to modify them by hand.

One or both of these is true of many other things already in /etc, such
as dumpdates, localtime, passwd, pwd.db, rc.conf.d/*, rc.d/*, rc.subr,
release, skeykeys, and the list goes on.

> So this is why I proposed libdata: because it's extra information used
> by some tools which the user should not edit directly. (We are already
> using that hierarchy for multiple packages, following this rationale.)

That seems just fine to me, too, for this particular case. (Despite
being changing information, which is not really what I'd thought of for
libdata, if you lose the packages, the configuration files are safely
deleted as well, since they're easily regenerated, so there's no point
in putting them in some place where they're easy to back up separately.)

Curt Sampson  <>   +81 90 7737 2974
      Make up enjoying your city life...produced by BIC CAMERA