Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 1995 10:23:40 -0400
From:      Coranth Gryphon <gryphon@healer.com>
To:        hackers@freebsd.org, peter@taronga.com
Subject:   Re: ports startup scripts
Message-ID:  <199509281423.KAA24338@healer.com>

next in thread | raw e-mail | index | archive | help
>From owner-freebsd-hackers@freefall.freebsd.org Thu Sep 28 09:18:40 1995
From: peter@taronga.com (Peter da Silva)
Subject: Re: ports startup scripts
To: hackers@freebsd.org
Date: Thu, 28 Sep 1995 07:38:30 -0500 (CDT)
In-Reply-To: <199509271906.PAA21561@healer.com> from "Coranth Gryphon" at Sep 27, 95 03:06:40 pm
X-Mailer: ELM [version 2.4 PL24]
Content-Type: text
Content-Length: 447       
Sender: owner-hackers@freebsd.org
Precedence: bulk

> +> No files are edited by packages. The packages/ports put control information
> +> into /etc/packages and /etc/init.d (for dependencies and scripts
> +> respectively).

> What is /etc/packages in your model? If it's a file, well, we've just come
> back to the original problem of having automated editing of a file.

It's a directory (or directory tree) that holds configuration information
on packages.  Used in place of /var/db/pkg (based upon the idea to keep all
system configuration information under /etc). Package install just puts
the approprite files into the directory. I prefer one directory (with
files "foo.DESC"), rather than the tree ("/etc/packages/foo/DESC"),
but it doesn't really matter.

> And the other control files have still to be dealt with.

We can only avoid editing files so much. Password files, inetd.conf, services.
These have to be editied, or we have to throw them out and replace them
with another model. At some point, you either have to allow auto-editing
of system files, or just leave some stuff to hand-configuration.

Or make all entries into /etc/services and /etc/inetd.conf and comment
out the lines that correspond to packages not yet installed. The package
can be told exactly what line to uncomment. Anything else requires
human intervention.

It's still a LOT better than we have now.

-coranth

------------------------------------------+------------------------+
Coranth Gryphon <gryphon@healer.com>      |  "Faith Manages."      |
                                          |        - Satai Delenn  |
Phone: 603-598-3440   Fax: 603-598-3430   +------------------------+
USMail: 3 Hansom Drive, Merrimack, NH  03054
Disclaimer: All these words are yours, except Europa... 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509281423.KAA24338>