On Tue, Aug 19, 2008 at 09:37:34AM -0700, Bart Smaalders wrote:

> I anticipate the creation of a simple base package that contains 
> everything needed to install any other packages successfully.  In 
> particular, that list is right now something like this:
> 
> /etc/passwd
> /etc/group
> /etc/ft/ftpusers
> /etc/name_to_major
> /etc/driver_aliases
> /tmp
> /usr
> 
> Since ON still delivers partially populated editable files, those
> files need to be in place before actions that create entries in
> those files are executed.

After a bit more chatting, Bart and I came up with the idea that, once all
users and groups are removed from the files and turned into actions, then
we can make the action install code create the files as necessary, and the
base package will deliver each of the files empty, but with correct
permissions, so that on first install, users and groups will be written
into the files just fine, and a little bit later, the file will have its
permissions corrected.  This will require a bit of work on the file action
to always make sure that the perms on the file are what the action
delivers, but that shouldn't be terribly difficult to do, and shouldn't
seriously step on people, either.

Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to