summaryrefslogtreecommitdiffstats
path: root/bind97-rh693982.patch
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2011-08-31 15:09:46 +0200
committerAdam Tkac <atkac@redhat.com>2011-08-31 15:09:46 +0200
commit2bd2458b3cdcd4c21e460ba1389383438326703e (patch)
tree2e1d3994ebc02cea59bedad166b0d4751c19fee1 /bind97-rh693982.patch
parent86c080f6b655f57175ac1be02d9c637240b2a962 (diff)
Some low-priority bugfixes & enhancements.
- fix rare race condition in request.c - print "the working directory is not writable" as debug message - re-add configtest target to initscript - initscript: sybsys name is always named, not named-sdb - nsupdate returned zero when target zone didn't exist (#700097) - nsupdate could have failed if server has multiple IPs and the first was unreachable (#714049) Signed-off-by: Adam Tkac <atkac@redhat.com>
Diffstat (limited to 'bind97-rh693982.patch')
-rw-r--r--bind97-rh693982.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/bind97-rh693982.patch b/bind97-rh693982.patch
new file mode 100644
index 0000000..57bf812
--- /dev/null
+++ b/bind97-rh693982.patch
@@ -0,0 +1,35 @@
+diff -up bind-9.7.3-P3/bin/named/server.c.rh693982 bind-9.7.3-P3/bin/named/server.c
+--- bind-9.7.3-P3/bin/named/server.c.rh693982 2011-08-12 17:18:55.611978110 +0200
++++ bind-9.7.3-P3/bin/named/server.c 2011-08-12 17:19:36.009975303 +0200
+@@ -4444,15 +4444,6 @@ load_configuration(const char *filename,
+ ns_os_changeuser();
+
+ /*
+- * Check that the working directory is writable.
+- */
+- if (access(".", W_OK) != 0) {
+- isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL,
+- NS_LOGMODULE_SERVER, ISC_LOG_ERROR,
+- "the working directory is not writable");
+- }
+-
+- /*
+ * Configure the logging system.
+ *
+ * Do this after changing UID to make sure that any log
+@@ -4498,6 +4489,15 @@ load_configuration(const char *filename,
+ }
+
+ /*
++ * Check that the working directory is writable.
++ */
++ if (access(".", W_OK) != 0) {
++ isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL,
++ NS_LOGMODULE_SERVER, ISC_LOG_DEBUG(1),
++ "the working directory is not writable");
++ }
++
++ /*
+ * Set the default value of the query logging flag depending
+ * whether a "queries" category has been defined. This is
+ * a disgusting hack, but we need to do this for BIND 8