:: [DNG] etckeeper
Góra strony
Delete this message
Reply to this message
Autor: Hendrik Boom
Data:  
Dla: dng
Stare tematy: Re: [DNG] Er, Not that way ? .Re: Announcing Devuan 4.0: Chimaera!
Temat: [DNG] etckeeper
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.

-- hendrik