etckeeperを黙らせたい。
etckeeper で安心なんだけど、コミット時に出力されるログがうるさすぎる。
etckeeper はあると安心なんだけど、あると安心程度のために、たくさんのログと付き合うのは面倒だったり。
Restarting virtual private network daemon.:. [master 397a87a] committing changes in /etc after apt run Author: takuya <takuya@atom> 132 files changed, 437 insertions(+) create mode 100644 bash_completion.d/openvpn create mode 100644 default/openvpn create mode 100755 init.d/openvpn create mode 100755 network/if-down.d/openvpn create mode 100755 network/if-up.d/openvpn create mode 100755 openvpn/update-resolv-conf create mode 120000 rc0.d/K02openvpn (中略 rename rc2.d/{S04avahi-daemon => S05avahi-daemon} (100%) rename rc2.d/{S04bluetooth => S05bluetooth} (100%) rename rc2.d/{S04exim4 => S05exim4} (100%) rename rc2.d/{S04gdm3 => S05gdm3} (100%) rename rc2.d/{S04lightdm => S05lightdm} (100%) rename rc2.d/{S05bootlogs => S06bootlogs} (100%)
だいぶうるさいので・・・
etckeeperをサイレントにする。
コミットオプションをつければいい。
GIT_COMMIT_OPTIONS="-q"
こんな感じで。q = quiet ですね
takuya@atom:~$ sudo cat /etc/etckeeper/etckeeper.conf # The VCS to use. #VCS="hg" VCS="git" #VCS="bzr" #VCS="darcs" # Options passed to git commit when run by etckeeper. GIT_COMMIT_OPTIONS="-q" # Options passed to hg commit when run by etckeeper. HG_COMMIT_OPTIONS="" # Options passed to bzr commit when run by etckeeper. BZR_COMMIT_OPTIONS="" # Options passed to darcs record when run by etckeeper. DARCS_COMMIT_OPTIONS="-a" # Uncomment to avoid etckeeper committing existing changes # to /etc automatically once per day. #AVOID_DAILY_AUTOCOMMITS=1 # Uncomment the following to avoid special file warning # (the option is enabled automatically by cronjob regardless). #AVOID_SPECIAL_FILE_WARNING=1 # Uncomment to avoid etckeeper committing existing changes to # /etc before installation. It will cancel the installation, # so you can commit the changes by hand. #AVOID_COMMIT_BEFORE_INSTALL=1 # The high-level package manager that's being used. # (apt, pacman-g2, yum etc) HIGHLEVEL_PACKAGE_MANAGER=apt # The low-level package manager that's being used. # (dpkg, rpm, pacman-g2, etc) LOWLEVEL_PACKAGE_MANAGER=dpkg
これで、入れてるのを忘れられる、つまり「保険」としての状態を維持できるようになって安心。
まぁ、docker とかlxc や、 ファイルシステム側でバージョン管理すりゃイイんだろうけどさ。