etckeeper is a collection of tools to let /etc be stored in a git, mercurial, or bzr repository. It hooks into apt (and other package managers) to automatically commit changes made to /etc during package upgrades. It tracks file metadata that revison control systems do not normally support, but that is important for /etc, such as the permissions of /etc/shadow. It's quite modular and configurable, while also being simple to use if you understand the basics of working with revision control.

etckeeper is available in git at git://git.kitenet.net/etckeeper, or in gitweb. It's packaged in Debian; packages for other distributions are forthcoming.

News

etckeeper 0.21 released with these changes

  • Swedish debconf translation from Martin Ă…gren. Closes: #492063
  • Make etckeeper init -d set up commit hooks that call etckeeper -d. (Note that if you've relied on it setting up such commit hooks for a repo outside of /etc already, it created broken ones that need to be fixed to use -d.) Thanks, Wolfgang Karall.
Posted Thursday afternoon, September 11th, 2008

etckeeper 0.20 released with these changes

  • [ Jelmer Vernooij ]
    • Use new Bazaar API.
    • Pass --quiet to bzr add to avoid new files from being printed twice.
    • Don't consider warnings from bzr plugins when checking if tree was modified.
Posted at lunch time on Monday, July 7th, 2008

etckeeper 0.19 released with these changes

  • Patch from Miklos Vajna to fix one more git- command that crept in.
Posted early Saturday morning, July 5th, 2008