Re: How to determine which config files I have changed
Paul Cager <paul@paulcager.org> writes:
> I would like to be able to create a list of all of the configuration
> files I have changed / created since installation. Mainly to make it
> easy if I wanted to rebuild my system from scratch.
You could try out the package 'changetrack', edit
/etc/default/changetrack to
## When set to yes, all conffiles on your system is tracked for
## changes in addition to the ones you put in /etc/changetrack.conf
AUTO_TRACK_ALL_CONFFILES=yes
and run
sudo /etc/cron.daily/changetrack
to make sure that all conffiles on your system is listed in
/var/lib/changetrack/all_conffiles.txt .
>From then on, you will receive email with the diff of your changes and
they will be recorded in /var/lib/changetrack.
Notice that not all configuration files are dpkg conffiles, so each time
you edit a configuration file for the first time, check whether it is in
all_conffiles.txt, and if not, manually put it in
/etc/changetrack.conf .
HTH,
--
Jens Peter Secher
_DD6A 05B0 174E BFB2 D4D9 B52E 0EE5 978A FE63 E8A1 jpsecher gmail com_
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?
Reply to: