etckeeper user and system diffs [closed]

It’s difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 9 years ago. I’m looking for a way to keep user … Read more

Resolve a contradictory conflict in /etc tree (mercurial-based etckeeper)

I have an /etc file tree which is managed by etckeeper, based on Mercurial. After running apt-get dist-upgrade, I want to revision the changes which have been applied by the upgrade. However, when doing hg add $(hg status . –unknown –no-status) I get this conflict: abort: file ‘php5/apache2/conf.d’ in dirstate clashes with ‘php5/apache2/conf.d/05-opcache.ini’ hg status … Read more

Install etckeeper via ansible, and perform first commit at end of playbook

I’m using ansible to provision a server. One of the roles installs etckeeper, which automatically creates the git repo and makes the first commit. If many tasks run after that (which install via apt or perform configuration changes), then the repo is a mess of commits – before I even start using the server. I … Read more

Log hwinfo output with etckeeper

I like etckeeper. It does store the etc/ directory in a git repository. This way I have a nice history of what changed. Of course we have backups, but this is convenient. I would like to store additional data like the output of hwinfo –all. The tool etckeeper seems to have a plugin “framework” via … Read more

Sortable list of all packages (dpkg)

I want to dump all installed packages on a system which uses dpkg. Up to now I use dpkg -l. But it has one draw back: Sorting the result does not make sense. Head: root@aptguettler:~# LANG=C dpkg-query -l| sort | head +++-===========================================================-=================================================-============-================================================================================ Desired=Unknown/Install/Remove/Purge/Hold |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ii a11y-profile-manager-indicator 0.1.10-0ubuntu3 amd64 Accessibility Profile Manager – … Read more

Can we get git-like functionality with a tool like puppet?

I’m thinking about a convenient way to track my vps configurations and to deploy them in one click (or more or less one). I have been reading up and looking into different config deployment tools of which puppet seems to be the most popular, only to come back to square one. Even though the features … Read more

Track multiple directories with etckeeper

I’m trying to provide a solution to use etckeeper as a keeper of multiple locations (directories). I’m using Debian 8. With the default config etckeeper “watches” the /etc directory but I want to have /etc and /opt directories monitored. If I use -d flag will I have repo for each of directory mentioned or one … Read more

etckeeper implementation in subversion (SVN)

How to setup etckeeper in subversion (SVN).I get to know that etckeeper works with git , mercurial (hg) etc, but it doesn’t works with subversion. I am stuck with this etckeeper implementation in svn… Any further help….. Answer From the project’s website: etckeeper is a collection of tools to let /etc be stored in a … Read more

Why is there no git repository after installing etckeeper?

I installed etckeeper on my ubuntu 11.10 server, and after creating the etckeeper repository with: etckeeper init etckeeper commit “Initial version” I got the error: bzr: ERROR: No changes to commit. Please ‘bzr add’ the files you want to commit, or use –unchanged to force an empty commit. So I added a test file and … Read more