summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Hozza <thozza@redhat.com>2013-10-30 12:41:51 +0100
committerTomas Hozza <thozza@redhat.com>2013-10-30 12:45:06 +0100
commit93a69bb1610995fdcceb43380d275a85f6a60588 (patch)
treef72ddc0228ca5d46b104821bc9ed6544d5d8dce1
parent09394b223af2c3aa27472496c764e5d6ad8bf7c3 (diff)
downloadbind-93a69bb1610995fdcceb43380d275a85f6a60588.tar.gz
bind-93a69bb1610995fdcceb43380d275a85f6a60588.tar.xz
bind-93a69bb1610995fdcceb43380d275a85f6a60588.zip
Added session-keyfile statement into default named.conf since we use /run/named
Since we don't use default /var/run/named path for PID file, we should not use it also for Dynamic DNS session key. Therefore the following line was added into the named.conf: session-keyfile "/run/named/session.key"; Signed-off-by: Tomas Hozza <thozza@redhat.com>
-rw-r--r--.gitignore1
-rw-r--r--bind.spec1
-rw-r--r--named.conf.sample3
-rw-r--r--sources2
4 files changed, 6 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 53d8e1c..21d95cf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -39,3 +39,4 @@ bind-9.7.2b1.tar.gz
/bind-9.9.4rc1.tar.gz
/bind-9.9.4rc2.tar.gz
/bind-9.9.4.tar.gz
+/config-12.tar.bz2
diff --git a/bind.spec b/bind.spec
index 40049c3..32cc86c 100644
--- a/bind.spec
+++ b/bind.spec
@@ -797,6 +797,7 @@ rm -rf ${RPM_BUILD_ROOT}
* Tue Oct 29 2013 Tomas Hozza <thozza@redhat.com> 32:9.9.4-4
- Use upstream version of patch for previously fixed #794940
- Create symlink /var/named/chroot/var/run -> /var/named/chroot/run
+- Added session-keyfile statement into default named.conf since we use /run/named
* Fri Oct 18 2013 Tomas Hozza <thozza@redhat.com> 32:9.9.4-3
- Fix race condition on send buffers in dighost.c (#794940)
diff --git a/named.conf.sample b/named.conf.sample
index 038e712..03df07e 100644
--- a/named.conf.sample
+++ b/named.conf.sample
@@ -71,7 +71,10 @@ options
/* Enable DLV by default, use built-in ISC DLV key. */
dnssec-lookaside auto;
+ /* In Fedora we use /run/named instead of default /var/run/named
+ so we have to configure paths properly. */
pid-file "/run/named/named.pid";
+ session-keyfile "/run/named/session.key";
managed-keys-directory "/var/named/dynamic";
};
diff --git a/sources b/sources
index d2f047a..120c42b 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-d64062a182bf71dbcae7b2e2fe2cd55b config-11.tar.bz2
f69757adc86776daed8e5acb0ee7c0ca bind-9.9.4.tar.gz
+e4315fdea56983570d3a33702e925088 config-12.tar.bz2