From 4f3be188df1c4ef550c9e0bf9495a3adbbbd8141 Mon Sep 17 00:00:00 2001 From: frank Date: Sun, 29 Jan 2012 12:52:40 +0100 Subject: [PATCH] saving uncommitted changes in /etc prior to emerge run --- .etckeeper | 2 ++ bind/rndc.key | 4 ++++ csh.env | 2 +- profile.env | 2 +- 4 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 bind/rndc.key diff --git a/.etckeeper b/.etckeeper index a587f6a..ee6ab54 100755 --- a/.etckeeper +++ b/.etckeeper @@ -114,6 +114,8 @@ maybe chgrp named './bind/bind.keys' maybe chmod 0640 './bind/bind.keys' maybe chgrp named './bind/named.conf' maybe chmod 0640 './bind/named.conf' +maybe chgrp named './bind/rndc.key' +maybe chmod 0640 './bind/rndc.key' maybe chmod 0755 './ca-certificates' maybe chmod 0644 './ca-certificates.conf' maybe chmod 0755 './ca-certificates/update.d' diff --git a/bind/rndc.key b/bind/rndc.key new file mode 100644 index 0000000..f093202 --- /dev/null +++ b/bind/rndc.key @@ -0,0 +1,4 @@ +key "rndc-key" { + algorithm hmac-md5; + secret "QKTIfKDMtmXD1bedCCQWyA=="; +}; diff --git a/csh.env b/csh.env index 2f53d47..0923cc3 100644 --- a/csh.env +++ b/csh.env @@ -2,7 +2,7 @@ # DO NOT EDIT THIS FILE. CHANGES TO STARTUP PROFILES # GO INTO /etc/csh.cshrc NOT /etc/csh.env -setenv CONFIG_PROTECT '/usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa' +setenv CONFIG_PROTECT '/var/bind /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa' setenv CONFIG_PROTECT_MASK '/etc/gentoo-release /etc/sandbox.d /etc/env.d/java/ /etc/php/cli-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/apache2-php5.3/ext-active/ /etc/fonts/fonts.conf /etc/gconf /etc/terminfo /etc/ca-certificates.conf /etc/texmf/web2c /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/revdep-rebuild' setenv EDITOR '/usr/bin/vi' setenv GCC_SPECS '' diff --git a/profile.env b/profile.env index e28d007..c103674 100644 --- a/profile.env +++ b/profile.env @@ -2,7 +2,7 @@ # DO NOT EDIT THIS FILE. CHANGES TO STARTUP PROFILES # GO INTO /etc/profile NOT /etc/profile.env -export CONFIG_PROTECT='/usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa' +export CONFIG_PROTECT='/var/bind /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa' export CONFIG_PROTECT_MASK='/etc/gentoo-release /etc/sandbox.d /etc/env.d/java/ /etc/php/cli-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/apache2-php5.3/ext-active/ /etc/fonts/fonts.conf /etc/gconf /etc/terminfo /etc/ca-certificates.conf /etc/texmf/web2c /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/revdep-rebuild' export EDITOR='/usr/bin/vi' export GCC_SPECS='' -- 2.39.5