garcia/etckeeper

Project ID: 127559

Description

The etckeeper program is a tool to let /etc be stored in a git, mercurial, bzr or darcs repository. It hooks into yum to automatically commit changes made to /etc during package upgrades. It tracks file metadata that version 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 version control.

The default backend is git, if want to use a another backend please install the appropriate tool (mercurial, darcs or bzr). To use bazaar/breezy as backend, please also install the etckeeper-brz package.

Installation Instructions

Please read the included README, so you understand the security aspects, and how it all works.

For the impatient: Run

etckeeper init etckeeper vcs status etckeeper vcs commit -m 'msg'

to get etckeeper started.

Once you do that, the cronjob is in place and it'll do daily autocommits for you. To disable it, set AVOID_DAILY_AUTOCOMMITS=1 in /etc/etckeeper/etckeeper.conf.

There's a yum plugin enabled that autocommits before and after each yum transaction. A dnf plugin is also included, in the subpackage etckeeper-dnf.

The yum plugin can be disabled in /etc/yum/pluginconf.d/etckeeper.conf.

Active Releases

The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).

Release Architectures Repo Download
Fedora 40 x86_64 (944)* Fedora 40 (487 downloads)
Fedora 41 x86_64 (1)* Fedora 41 (4 downloads)
Fedora rawhide x86_64 (1)* Fedora rawhide (13 downloads)

* Total number of downloaded packages.