From owner-freebsd-current@freebsd.org Tue May 10 06:40:15 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BB834B35800 for ; Tue, 10 May 2016 06:40:15 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id A5C771456 for ; Tue, 10 May 2016 06:40:15 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id A5248B357FF; Tue, 10 May 2016 06:40:15 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A4CF4B357FE for ; Tue, 10 May 2016 06:40:15 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 8F87C1455; Tue, 10 May 2016 06:40:15 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by freefall.freebsd.org (Postfix) with ESMTP id 4072C1773; Tue, 10 May 2016 06:40:15 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Date: Tue, 10 May 2016 06:40:14 +0000 From: Glen Barber To: araujo@FreeBSD.org Cc: Thomas Zander , "O. Hartmann" , 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> References: <20160510055341.GA47527@FreeBSD.org> <20160510081844.54f1cb28@freyja.zeit4.iv.bundesimmobilien.de> <20160510063229.GC47527@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4imyEzq1NYdDURgI" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 11.0-CURRENT amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event X-PEKBAC-Definition: Problem Exists, Keyboard Between Admin/Computer User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 May 2016 06:40:15 -0000 --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 : >=20 > > On Tue, May 10, 2016 at 08:25:22AM +0200, Thomas Zander wrote: > > > On 10 May 2016 at 08:18, O. Hartmann > > 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--