On Fri, Feb 22, 2002 at 10:25:03PM -0500, John Baldwin wrote:
> On 23-Feb-02 Dag-Erling Smorgrav wrote:
> > David Wolfskill <[EMAIL PROTECTED]> writes:
> >> Sounds like a botched (or not run) "mergemaster" execution:
> > 
> > No - mergemaster will croak because it runs mtree to build its temp
> > directory, so if you're trying to update a pre-smmsp system you have
> > to add the smmsp user and group manually.
> I think this is a bug but can't think of a clean way to work around it.

I can think of a two "clean" ways... but it ain't pretty.

  1) Do not enter users in the BSD.*.dist files by 'uname,' but only
     by 'uid.' But this makes the files more difficult to maintain and
     generally icky.

  2) Keep 'uname's in BSD.*.dist files, but use the distributed
     src/etc/master.passwd to process the BSD.*.dist files into a
     format with 'uid's on the fly during buildworld-installworld.
     These versions would only be built during buildworld and only
     used by the mtree(8) commands during installworld. The source
     BSD.*.dist files would be the ones actually installed of course.

Obviously, one could do the same with groups.
Crist J. Clark                     |     [EMAIL PROTECTED]
                                   |     [EMAIL PROTECTED]
http://people.freebsd.org/~cjc/    |     [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to