Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jun 2021 11:22:16 -0700
From:      John Baldwin <jhb@FreeBSD.org>
To:        Nuno Teixeira <eduardo@freebsd.org>, FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: etcupdate warning: "No previous tree to compare against, a sane comparison is not possible."
Message-ID:  <95d8c955-4a76-021d-d926-0ed0f9c786ab@FreeBSD.org>
In-Reply-To: <CAFDf7UJUiKrcFZE-ro4vwJvETw5dnqA5nQpc-wmcmGBD4WKpUA@mail.gmail.com>
References:  <CAFDf7UJUiKrcFZE-ro4vwJvETw5dnqA5nQpc-wmcmGBD4WKpUA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?95d8c955-4a76-021d-d926-0ed0f9c786ab>