diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-02-13 13:39:25 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-02-13 13:39:25 -0500 |
commit | d7179c5d73ec0e90cf4193b1f76391d325d9ea8d (patch) | |
tree | fd86163a7fd23bff60915a14dfcd66f6233c2ce8 /README | |
parent | 7c6524d6a78e0efe6839a5ff0f998013a5476dce (diff) |
update README to mention cron jobs
Diffstat (limited to 'README')
-rw-r--r-- | README | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -8,7 +8,7 @@ of working with version control. ## security warnings -First, a big warning: By checking /etc into revision control, you are +First, a big warning: By checking /etc into version control, you are creating a copy of files like /etc/shadow that must remain secret. Anytime you have a copy of a secret file, it becomes more likely that the file contents won't remain secret. etckeeper is careful about file permissions, @@ -20,7 +20,7 @@ Since git mushes all the files into packs under the .git directory, the whole .git directory content needs to be kept secret. (Ditto for mercurial and .hg as well as bazaar and .bzr) -Also, since revision control systems don't keep track of the mode of files +Also, since version control systems don't keep track of the mode of files like the shadow file, it will check out world readable, before etckeeper fixes the permissions. The tutorial has some examples of safe ways to avoid these problems when cloning an /etc repository. @@ -37,7 +37,14 @@ installing and upgrading packages. Before apt installs packages, After apt installs packages, `etckeeper post-install` will add any new interesting files to the repository, and commit the changes. -Revsion control systems are designed as a way to manage source code, not as +You can also run `etckeeper commit` by hand to commit changes. + +There is also a cron job, that will use etckeeper to automatically +commit any changes to /etc each day. + +## VCS limitations + +Version Control Systems are designed as a way to manage source code, not as a way to manage arbitrary directories like /etc. This means there are a few limitations that etckeeper has to work around. These include file metadata storage, empty directories, and special files. |