From owner-freebsd-current@freebsd.org Tue May 10 06:38:37 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 E48EBB35771 for ; Tue, 10 May 2016 06:38:37 +0000 (UTC) (envelope-from araujobsdport@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C392712EA for ; Tue, 10 May 2016 06:38:37 +0000 (UTC) (envelope-from araujobsdport@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id BF408B35770; Tue, 10 May 2016 06:38:37 +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 BEE53B3576F for ; Tue, 10 May 2016 06:38:37 +0000 (UTC) (envelope-from araujobsdport@gmail.com) Received: from mail-ob0-x230.google.com (mail-ob0-x230.google.com [IPv6:2607:f8b0:4003:c01::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8FB4812E9; Tue, 10 May 2016 06:38:37 +0000 (UTC) (envelope-from araujobsdport@gmail.com) Received: by mail-ob0-x230.google.com with SMTP id aq1so1573338obc.3; Mon, 09 May 2016 23:38:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc; bh=OpXwdwBIMFAzXmWIXH5CFwgYjCaMsqhMBLYs6naXWOE=; b=0dFaKrGEvJPY4Sf3ujo62iQkaKTDM1A69j24IWFP+WMfZxGZsKMT52p2q5TjR4odZZ VrvET9ERiTXXWnQQD9AtxjSxGbE6gRLngWw0VkpgK3CgWQGchNfDlgHmNHbyRt7m4pdN or7D3GdCI1wBUU/wIfEMdLySJlU1ojeHlmbRkno1Q79iTT4ykjjOxhyiOWP3IIOYMRVl NfTpxv7349dysuLOFolHbKVAKdfmiWaAMYNxt5EWo/0DrYYLzNUEpzhlYCADAj7pvW42 sPC4bCh7fTAZ1VuURaP5EbcTewNzB2NZbu6ZQGHvmD38rPuOJxXl9SL/J53g3Esj5svy FdLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :date:message-id:subject:from:to:cc; bh=OpXwdwBIMFAzXmWIXH5CFwgYjCaMsqhMBLYs6naXWOE=; b=ddGJc1dlEkPAYUfsDzlXRYyomRpey1RxcIO1E/UipmfHwtCr7DSe2kaqdrk1VkeSpl 65+EthKApyboHy56OV0ReyZR0e5qfjEB9BhrEyrPZDUH/JcQdoAhfGIP8aGs7tkzjiQ4 Epxh8amgWOIdNNqvH3JdVL1D2q9b26TxdUQujL+1msMskQ+rwueYnHPuhXxxJgumbaAJ gPIXCaKekjRAr2gKbeqgdU4r+uYHk66GzMdKkMQN/Jl0BJaKEVZJgWhr/QnvRmceEZm2 sefO8zK/lerzAHL7zEd2f3xhb7fUzHz8aqKRXm8+FUKn5uF0v6NTXek16Z+nAuOf75kP g9Jw== X-Gm-Message-State: AOPr4FXU0YgJqMFuKdPrY/0U2+kQDajUYkLvEfyNoHvtO3nI6+3kGkfnI16ur5DOkWpdZ69HzwE5rz8IAr6L/A== MIME-Version: 1.0 X-Received: by 10.182.116.234 with SMTP id jz10mr17991643obb.29.1462862316600; Mon, 09 May 2016 23:38:36 -0700 (PDT) Received: by 10.182.182.38 with HTTP; Mon, 9 May 2016 23:38:36 -0700 (PDT) Reply-To: araujo@FreeBSD.org In-Reply-To: <20160510063229.GC47527@FreeBSD.org> References: <20160510055341.GA47527@FreeBSD.org> <20160510081844.54f1cb28@freyja.zeit4.iv.bundesimmobilien.de> <20160510063229.GC47527@FreeBSD.org> Date: Tue, 10 May 2016 14:38:36 +0800 Message-ID: Subject: Re: HEADS-UP: installworld on r299292 through r299317 will replace master.passwd, passwd, and group files From: Marcelo Araujo To: Glen Barber Cc: Thomas Zander , "O. Hartmann" , current@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 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:38:38 -0000 2016-05-10 14:32 GMT+08:00 Glen Barber : > 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 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). > > Glen > > 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}/ . Best, -- -- Marcelo Araujo (__)araujo@FreeBSD.org \\\'',)http://www.FreeBSD.org \/ \ ^ Power To Server. .\. /_)