Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Oct 2011 16:57:47 +0200 (CEST)
From:      kama <kama@pvp.se>
To:        John Baldwin <jhb@freebsd.org>
Cc:        Tom Evans <tevans.uk@googlemail.com>, Ed Schouten <ed@80386.nl>, Thomas Mueller <mueller6727@bellsouth.net>, freebsd-current@freebsd.org
Subject:   Re: Upgrade from source to RC1: problems with /etc : lost users and dbus
Message-ID:  <20111028165451.O37058@ns1.as.pvp.se>
In-Reply-To: <201110280749.58837.jhb@freebsd.org>
References:  <20111027102208.88BFB106564A@hub.freebsd.org> <CAFHbX1%2BWPM0E%2BUGpKKVb8WoNyeYBOp5GdrF59E3sgRp1TM8VRg@mail.gmail.com> <20111027111451.GO63910@hoeg.nl> <201110280749.58837.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help


On Fri, 28 Oct 2011, John Baldwin wrote:

> On Thursday, October 27, 2011 7:14:51 am Ed Schouten wrote:
> > * Tom Evans <tevans.uk@googlemail.com>, 20111027 13:06:
> > > I have had this happen before, the PEBKAC. When running mergemaster,
> > > it will prompt you to install new passwd, master.passwd and group
> > > files - if you have added local users you must not say yes to this,
> > > you must either merge the changes in or keep your local one.
> >
> > It would have been so awesome if our /etc/master.passwd and /etc/group
> > included an #include directive.
>
> I do agree with this.  Or if you could have /etc/passwd.d and /etc/group.d
> directories that can contain files that are auto-included.

Another idea is to let mergemaster call pw(8) to add remove users and
groups instead of merging the files.

It does not cover /etc/aliases though... But that is minor to this. =)

/Bjorn



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