Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 May 2016 08:55:37 +0200
From:      Thomas Zander <riggs@freebsd.org>
To:        Glen Barber <gjb@freebsd.org>
Cc:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>, current@freebsd.org
Subject:   Re: HEADS-UP: installworld on r299292 through r299317 will replace master.passwd, passwd, and group files
Message-ID:  <CAFU734yz-tjZ9XY7jpp9p-a3svDEDFiraerbgWzUXm-DgOiVpA@mail.gmail.com>
In-Reply-To: <20160510063229.GC47527@FreeBSD.org>
References:  <20160510055341.GA47527@FreeBSD.org> <20160510081844.54f1cb28@freyja.zeit4.iv.bundesimmobilien.de> <CAFU734yENA5=yBB9sWGFhWDyqWcLrSxP08vKak4yJk3btgU0Yg@mail.gmail.com> <20160510063229.GC47527@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10 May 2016 at 08:32, Glen Barber <gjb@freebsd.org> wrote:
> On Tue, May 10, 2016 at 08:25:22AM +0200, Thomas Zander wrote:
>> On 10 May 2016 at 08:18, O. Hartmann <ohartman@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.

Absolutely. I didn't mean to propose zfs snapshots as the one true solution.
But since they saved me from a couple of late-in-the-night-mistakes in
the past, we could have "make installworld / distribution" create a
snapshot if the corresponding fs happens to be zfs. This could be
enabled or disabled via a variable in make.conf.

Best regards
Riggs



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFU734yz-tjZ9XY7jpp9p-a3svDEDFiraerbgWzUXm-DgOiVpA>