/[packages]/cauldron/bind/current/SOURCES/bind97-rh693982.patch
ViewVC logotype

Contents of /cauldron/bind/current/SOURCES/bind97-rh693982.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 389214 - (show annotations) (download)
Thu Jan 17 21:30:27 2013 UTC (11 years, 3 months ago) by pterjan
File size: 1191 byte(s)
oops
1 diff -up bind-9.7.3-P3/bin/named/server.c.rh693982 bind-9.7.3-P3/bin/named/server.c
2 --- bind-9.7.3-P3/bin/named/server.c.rh693982 2011-08-12 17:18:55.611978110 +0200
3 +++ bind-9.7.3-P3/bin/named/server.c 2011-08-12 17:19:36.009975303 +0200
4 @@ -4444,15 +4444,6 @@ load_configuration(const char *filename,
5 ns_os_changeuser();
6
7 /*
8 - * Check that the working directory is writable.
9 - */
10 - if (access(".", W_OK) != 0) {
11 - isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL,
12 - NS_LOGMODULE_SERVER, ISC_LOG_ERROR,
13 - "the working directory is not writable");
14 - }
15 -
16 - /*
17 * Configure the logging system.
18 *
19 * Do this after changing UID to make sure that any log
20 @@ -4498,6 +4489,15 @@ load_configuration(const char *filename,
21 }
22
23 /*
24 + * Check that the working directory is writable.
25 + */
26 + if (access(".", W_OK) != 0) {
27 + isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL,
28 + NS_LOGMODULE_SERVER, ISC_LOG_DEBUG(1),
29 + "the working directory is not writable");
30 + }
31 +
32 + /*
33 * Set the default value of the query logging flag depending
34 * whether a "queries" category has been defined. This is
35 * a disgusting hack, but we need to do this for BIND 8

  ViewVC Help
Powered by ViewVC 1.1.30