Hi Hendrik,
Hendrik Boom writes:
> On Mon, Oct 18, 2021 at 06:52:05PM +0900, Olaf Meeuwissen via Dng wrote:
>> Hi Steve,
>>
>> Steve Litt writes:
>>
>> > After that, take a backup of the new system including /etc and
>> > $HOME, then restore *strategic* config files from /etc/ and ~ and
>> > ~/.config. By strategic, I mean configs that you hand-crafted.
>> > Sometimes it's better to copy your hand-crafting into current
>> > package-installed config files. I find this especially true of Dovecot.
>>
>> I keep track of /etc with etckeeper which puts that directory under git
>> version control. That means I can always track back changes to package
>> updates or me mucking around there and see exactly what changed. That
>> can be very helpful if an `apt upgrade` broke stuff, more so because I
>> track "testing" ;-)
>
> Sounds like etckeeper should be the first thing installed during
> Devuan installation, before any packages at all are configured, so as
> to track changed that are made during installation.
I don't know if tracking all the nitty-gritty package changes *during*
installation makes a lot of sense, but I quite habitually install
etckeeper as the first package *after* the installation. The first
commit (made during its install) then records the system's initial
configuration (but not the list of packages that are installed; I add
that manually afterwards via `etckeeper vcs commit --amend`).
Hope this helps,
--
Olaf Meeuwissen, LPIC-2 FSF Associate Member since 2004-01-27
GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13 F43E B8A4 A88A F84A 2DD9
Support Free Software https://my.fsf.org/donate
Join the Free Software Foundation https://my.fsf.org/join