From 709ec5958acefa241f411ab73b6104285a87037d Mon Sep 17 00:00:00 2001 From: christos Date: Wed, 22 Apr 2009 18:25:24 +0000 Subject: [PATCH] Don't log if "." is not writable. In the chrooted environment this is "/var/chroot/named", and there is no reason whatsoever for this to be writable! --- external/bsd/bind/dist/bin/named/server.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/external/bsd/bind/dist/bin/named/server.c b/external/bsd/bind/dist/bin/named/server.c index ffa1381ba6a9..43a9051edd49 100644 --- a/external/bsd/bind/dist/bin/named/server.c +++ b/external/bsd/bind/dist/bin/named/server.c @@ -1,4 +1,4 @@ -/* $NetBSD: server.c,v 1.1.1.1 2009/03/22 14:56:08 christos Exp $ */ +/* $NetBSD: server.c,v 1.2 2009/04/22 18:25:24 christos Exp $ */ /* * Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC") @@ -3451,6 +3451,7 @@ load_configuration(const char *filename, ns_server_t *server, if (first_time) ns_os_changeuser(); +#ifdef notdef /* * Check that the working directory is writable. */ @@ -3459,6 +3460,7 @@ load_configuration(const char *filename, ns_server_t *server, NS_LOGMODULE_SERVER, ISC_LOG_ERROR, "the working directory is not writable"); } +#endif /* * Configure the logging system.