From nobody Tue Jun 22 18:22:16 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 00AB95D0298 for ; Tue, 22 Jun 2021 18:22:22 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G8ZW16k8fz3k1G; Tue, 22 Jun 2021 18:22:21 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from John-Baldwins-MacBook-Pro.local (ralph.baldwin.cx [66.234.199.215]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: jhb) by smtp.freebsd.org (Postfix) with ESMTPSA id 8D47CD0C4; Tue, 22 Jun 2021 18:22:21 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Subject: Re: etcupdate warning: "No previous tree to compare against, a sane comparison is not possible." To: Nuno Teixeira , FreeBSD CURRENT References: From: John Baldwin Message-ID: <95d8c955-4a76-021d-d926-0ed0f9c786ab@FreeBSD.org> Date: Tue, 22 Jun 2021 11:22:16 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-ThisMailContainsUnwantedMimeParts: N On 6/22/21 12:34 AM, Nuno Teixeira wrote: > Hello, > > Should I be worry about etcupdate warning "No previous tree to compare > against, a sane comparison is not possible." when I recompile and update > current? > > I receive same warning when I do a 'etcupdate -p' after installworld too. Yes, this means etcupdate is not merging any changes to /etc. You should run 'etcupdate extract' before your next upgrade cycle. You should then review the output of 'etcupdate diff' to see if there are files in /etc that need updating. If there are files that you want to update to stock versions you can use 'etcupdate revert /path/to/file'. Otherwise, you can use the patch generated by 'etcupdate diff' either as a guide to manually update files to remove unwanted differences, or as input to patch -R. -- John Baldwin