Subject: Re: post-installation and rc.d enhancements
To: None <tech-userlevel@netbsd.org>
From: Julio Merino <jmmv@hispabsd.org>
List: tech-userlevel
Date: 04/17/2002 18:58:18
--ADZbWkCsHQ7r3kzd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Apr 17, 2002 at 09:51:36AM -0500, Frederick Bruckman wrote:
> On Thu, 18 Apr 2002, Luke Mewburn wrote:
>=20
> I like that a lot (and the rest). I have one question...

Me too :)

>=20
> I guess the idea is that the package system just creates that file (with
> suitable defaults) if and only if it doesn't already exist. That breaks
> down if the file ever needs to change. Alternatively, I think the number
> of pkg_ rc.d scripts will be small enough, that we could probably craft
> a single defaults/rc.pkg.conf file and include the latest version in
> every binary package which has an rc.d script. ["/etc/rc.conf.d/$name"
> loads after "/etc/rc.conf" in load_rc_config(), so editing the former
> would still be an option.]

The /etc/defaults/rc.pkg.conf would be modified by installation scripts,
I guess. That is, when a package that needs some rc.d script is installed,
it will modify the rc.pkg.conf defaults to add its own list of variables.
If any of them is already found, just overwrite them to match the new
needs. /etc/rc.conf.d/* should be left for the user...

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

--ADZbWkCsHQ7r3kzd
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (NetBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8vamqzz00ZOPKycwRAkJBAJ4nD6HRimNHeZrRlIPTYM1Tz//IKACfewZj
TjqYHuPrpOR4bTgkNl24F2Y=
=CGiY
-----END PGP SIGNATURE-----

--ADZbWkCsHQ7r3kzd--