Public bug reported:

Binary package hint: etckeeper

etckeeper is not run during an apt-get remove or apt-get purge like it
is during an apt-get install.

This means that the version control system doesn't specifically track
the changes in /etc that result from removing packages.

I'm using a hook in
 /etc/etckeeper/commit.d/20mirror-outside-files

to also track the grub configuration changes in /boot as described in

 http://serverfault.com/questions/211425/can-etckeeper-be-used-to-track-
config-files-outside-of-etc/225233#225233

and this means that e.g. after removing old kernels and modules the
resulting changes in grub.conf are not tracked.  At best they would be
caught on the next cron run, but the logs won't be very helpful for
figuring out why the changes occurred.

I think etckeeper should be run during any apt-get activity which might
change files in /etc.

It would also be helpful if the commit messages reflected as much as
possible what the command line was (i.e. which packages the user
intended to in install, vs which were pulled in automatically).

I'm running Ubuntu 10.04 - Lucid

** Affects: etckeeper (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to etckeeper in ubuntu.
https://bugs.launchpad.net/bugs/713704

Title:
  etckeeper is not run on apt-get remove or apt-get purge

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to