Subject: Re: packages outside of /usr/pkg (was: Re: PROPOSAL: Move /usr/pkg/etc to /etc/pkg)
To: None <tech-pkg@netbsd.org>
From: Julio Merino <jmmv@hispabsd.org>
List: tech-pkg
Date: 05/22/2002 22:33:21
--gKMricLos+KVdGMg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, May 22, 2002 at 02:37:25PM -0500, Richard Rauch wrote:
> Re. http://mail-index.netbsd.org/tech-pkg/2002/05/22/0003.html
>=20
> Yes, I meant to mention, e.g., tetex's installation of fonts in /var as
> something that irks me.  Fortunately, my / partition has much more space
> than it requires, so I can afford 20MB or so for tetex's texfonts dirs.
> But given NetBSD's tendancy towards a small / partition, I think that
> using /var as a dumping ground for tons of font data is a bad idea for a
> package.  (Regardless of organizational issues of whether package
> configuration/management data should be kept in /usr/pkg.)

Well, you have started the same thing I wanted to post ;)

I have commented this same thing today in irc. Somebody told me that it is
*not* a good idea to install things under /usr/pkg/var. He said that they
should go to /var (maybe /var/pkg), togheter with all other stuff. Although,
I'm not sure if this is ok.

> Other than /var/run/ files (small, transient files), I am not aware of any
> packages using /var/ files as their private databases, however.  (I don't
> really care about /var/run/ files one way or the other, personally.  I
> suspect that people would violently object if packages had those moved.)
>=20
> What /var/ files did you have in mind?

Looking at my /var directory, I've seen rpm using /var/pkg/lib/rpm as its
database directory; there is also an empty gnome directory. Although,
scrollkeeper uses /usr/pkg/var/lib. Things are not homogenous, and I do not
like it.

Maybe the right thing should be to do it like configuration files? That is
have a PKG_VARDIR variable or something so any user is able to configure it
as he wants.

Thanks.

--=20
Of course it runs NetBSD - http://www.netbsd.org
HispaBSD member - http://www.hispabsd.org
Julio Merino <jmmv@hispabsd.org>

--gKMricLos+KVdGMg
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (NetBSD)

iD8DBQE87ACRzz00ZOPKycwRAmtZAJ4shYAb7AXiCXhrCJccDJvIFS2CkACdE/DF
G0OPqbQb6Y+vFDY9YkeZDlU=
=fCYh
-----END PGP SIGNATURE-----

--gKMricLos+KVdGMg--