Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 May 2016 06:40:14 +0000
From:      Glen Barber <gjb@FreeBSD.org>
To:        araujo@FreeBSD.org
Cc:        Thomas Zander <riggs@freebsd.org>, "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:  <20160510064014.GE47527@FreeBSD.org>
In-Reply-To: <CAOfEmZjqhQgBoF6pPRKEna6%2BF5gCdJTGjTo4M8n8WV8gjkTTyQ@mail.gmail.com>
References:  <20160510055341.GA47527@FreeBSD.org> <20160510081844.54f1cb28@freyja.zeit4.iv.bundesimmobilien.de> <CAFU734yENA5=yBB9sWGFhWDyqWcLrSxP08vKak4yJk3btgU0Yg@mail.gmail.com> <20160510063229.GC47527@FreeBSD.org> <CAOfEmZjqhQgBoF6pPRKEna6%2BF5gCdJTGjTo4M8n8WV8gjkTTyQ@mail.gmail.com>

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

--4imyEzq1NYdDURgI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, May 10, 2016 at 02:38:36PM +0800, Marcelo Araujo wrote:
> 2016-05-10 14:32 GMT+08:00 Glen Barber <gjb@freebsd.org>:
>=20
> > 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 hav=
ing
> > > > 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).
> >
> >
> As an idea, when we run make installworld before it replaces the files, it
> could make a backup of those files that will be replaced to
> /var/backups/etc${DATE}/ .
>=20

Yes, this is similar to what I was considering implementing.

Glen


--4imyEzq1NYdDURgI
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXMYJOAAoJEAMUWKVHj+KTTHgP/1Bs9B+VAPuDSFWYYNTuTuXz
L1gY6cooa8PPbZ0eCe0fIodcJzgG99e66bMrnSnYaPIVDxYzU5B7K1iiUQJXzlNn
+eCPhT7XNxcCUToR+Q9wsqP7aCWSUrbyg9e645jqyzapadYcXUH2/I9MyFL082pJ
Dn2ZMk9uqyRFOd+/AMmXyAeKSlKXaqi2L5IgXj18zJiZ2/fkaKq3UMWL2Ljs0KeO
XeivSgxJWp400Qsa/7hL0WpPRTKQu4nqVPM0vnb7OD2r6EdbIxJF6JRZSjpl1/Et
oCVol6rba83g5wxhI/EY0zVAenlkIq0PtGQe7Es7Qp98j2ZW96xS6nOd7q3rPooT
la2pe2/pIf3CfwXbCtW8SdSC5K5q96Pi7kY6hMSuOQt1GZElRuu+Nb8a1K5QEKII
JSdhMN5nBAHy+uM0PBPRwaqwm3cNrt6td1t5dIWEhezCW69PiotZK0uA02sts++c
QPK1uNX0sjuO87kMRyJ67z+TWKTcPVli6rgdQh/WGIo2APcCh+0q7lU8qiwaieU5
y0rU+Rfh/pgfmmb0IfWKwGCE3BDNJwQE4KSLT654A6ZtWij0VYogPTizJVU5+AFY
bkX/uv0bsYWID7VSK4zXg7iwX4jSinOyu9LFvTs/m2v67eJYDsnqqoIDS8UvnDIn
g7LYf6doJW9/ZyN1GGQZ
=ftZq
-----END PGP SIGNATURE-----

--4imyEzq1NYdDURgI--



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