Re: HEADS-UP: installworld on r299292 through r299317 will replace master.passwd, passwd, and group files

From: Glen Barber <gjb_at_FreeBSD.org>
Date: Tue, 10 May 2016 17:12:28 +0000
On Tue, May 10, 2016 at 10:04:47AM -0700, John Baldwin wrote:
> On Tuesday, May 10, 2016 06:32:29 AM Glen Barber wrote:
> > On Tue, May 10, 2016 at 08:25:22AM +0200, Thomas Zander wrote:
> > > On 10 May 2016 at 08:18, O. Hartmann <ohartman_at_zedat.fu-berlin.de> wrote:
> > > 
> > > > I haven't figured out so far how far this goes. Lucky for those having
> > > > recent /etc/ backups. A pity FreeBSD doens't backup this by default.
> > > 
> > > After having shot myself in the foot some time ago, "zfs snapshot" has
> > > become a part of my standard upgrade procedures :-)
> > > 
> > 
> > No argument that this is valuable, but we cannot rely on filesystem
> > specific solutions.  Similar topic came up a few days ago following
> > lunch.  It got me thinking of a better way to ensure this kind of thing
> > does not require home-grown foot protection from cannons.
> > 
> > It should be fairly trivial to automatically backup /etc (and related)
> > when 'distribution' is run, either intentionally or accidentally (or by
> > commit mistakes, such as this).
> 
> Saving the output of 'etcupdate diff' nightly might not be a bad first step.
> 

This is also a good way to alleviate such things, however I am unsure
how to handle cases where 'etcupdate' would inadvertently run into
a conflict.  This was my concern with implementing an "automatic"
etcupdate run in the runtime package.

Glen


Received on Tue May 10 2016 - 15:12:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:04 UTC