From 5acdf84b5a309ce8aa94b86cfa25f41a43d5c2e2 Mon Sep 17 00:00:00 2001 From: doneg Date: Fri, 23 Sep 2016 09:14:21 +0000 Subject: Added a comment --- .../comment_11_353f4ec6cb4c575c9459b430236e27d1._comment | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 doc/todo/track_multiple_directories/comment_11_353f4ec6cb4c575c9459b430236e27d1._comment diff --git a/doc/todo/track_multiple_directories/comment_11_353f4ec6cb4c575c9459b430236e27d1._comment b/doc/todo/track_multiple_directories/comment_11_353f4ec6cb4c575c9459b430236e27d1._comment new file mode 100644 index 0000000..ee04de0 --- /dev/null +++ b/doc/todo/track_multiple_directories/comment_11_353f4ec6cb4c575c9459b430236e27d1._comment @@ -0,0 +1,9 @@ +[[!comment format=mdwn + username="doneg" + subject="comment 11" + date="2016-09-23T09:14:21Z" + content=""" +You already have -d support, now can you do, please, another step to track multiple dirs by adding cycle into `/etc/cron.daily/etckeeper` which would commit from multiple dirs. This could be variable in `/etc/etckeeper/etckeeper.conf`, for example `ADD_DIRS=\"/usr/local/etc /boot/grub\"`, and cron.daily script could just `for dir in $ADD_DIRS` and `commit -d $dir` them all. This requires just few lines to acquire such great functionality. + +For example, `/etc/grub2.cfg` is very important for the health of a system and it's never tracked by etckeeper by default because it's symlink to `/boot/grub2/grub.cfg`. We just have another server not survive reboot after simple `yum update` because grub.conf got wrong lvm parameters, and we unable to track when this change was happened first time. +"""]] -- cgit v1.2.3