Blob Blame History Raw
diff --git a/bin/named/server.c b/bin/named/server.c
index 20a6e31..dececd5 100644
--- a/bin/named/server.c
+++ b/bin/named/server.c
@@ -8126,15 +8126,6 @@ load_configuration(const char *filename, ns_server_t *server,
 		ns_os_changeuser();
 	}
 
-	/*
-	 * Check that the working directory is writable.
-	 */
-	if (!isc_file_isdirwritable(".")) {
-		isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL,
-			      NS_LOGMODULE_SERVER, ISC_LOG_ERROR,
-			      "the working directory is not writable");
-	}
-
 #ifdef HAVE_LMDB
 	/*
 	 * Reopen NZD databases.
@@ -8209,6 +8200,15 @@ load_configuration(const char *filename, ns_server_t *server,
 			      "config file");
 	}
 
+	/*
+	 * Check that the working directory is writable.
+	 */
+	if (!isc_file_isdirwritable(".")) {
+		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