From e95bc9423fe1de8ce5d83901d5b1fe8e69752ab2 Mon Sep 17 00:00:00 2001
From: boli <boli@localhost>
Date: Thu, 03 Jan 2008 17:51:53 +0000
Subject: [PATCH] Fixed the config change listeners for all log publishers so they will prevent changing the log file permissions to an invalid value. The listeners will now reject changes that will prevent OpenDS from writing to the log files.

---
 opends/src/messages/messages/config.properties |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/opends/src/messages/messages/config.properties b/opends/src/messages/messages/config.properties
index 104a964..09cd1e1 100644
--- a/opends/src/messages/messages/config.properties
+++ b/opends/src/messages/messages/config.properties
@@ -20,7 +20,7 @@
 #
 # CDDL HEADER END
 #
-#      Portions Copyright 2006-2007 Sun Microsystems, Inc.
+#      Portions Copyright 2006-2008 Sun Microsystems, Inc.
 
 
 
@@ -1686,9 +1686,9 @@
 SEVERE_ERR_CONFIG_BACKEND_MODE_INVALID_567=Configuration entry %s does not \
  contain a valid value for configuration attribute ds-cfg-db-directory-permissions (It \
  should be an UNIX permission mode in three-digit octal notation.)
-SEVERE_WARN_CONFIG_BACKEND_INSANE_MODE_568=Unable to set the requested file \
- permissions to the backend database directory. The requested permissions will \
- result in an inaccessible database
+SEVERE_ERR_CONFIG_BACKEND_INSANE_MODE_568=Invalid UNIX file permissions %s \
+  does not allow read and write access to the backend database directory by \
+  the backend
 INFO_CONFIG_CORE_DESCRIPTION_TIME_LIMIT_569=Default maximum \
  length of time that should be allowed when processing a search operation. \
  This may be overridden on a per-user basis by including the \
@@ -2130,10 +2130,14 @@
 SEVERE_ERR_CONFIG_WORKFLOW_CANNOT_CONFIGURE_MANUAL_713=An error occurred \
  while trying to configure in manual mode the workflows in the \
  Directory Server, and rollback to automatic configuration mode has failed \
- too. If the server is in an unstable state restart it with the last \
+ too. If the server is in an unstab\
+  le state restart it with the last \
  valid configuration
 SEVERE_ERR_CONFIG_WORKFLOW_CANNOT_CONFIGURE_AUTO_714=An error occurred \
  while trying to configure in automatic mode the workflows in the \
  Directory Server, and rollback to manual configuration mode has failed \
  too. If the server is in an unstable state restart it with the last \
  valid configuration
+SEVERE_ERR_CONFIG_LOGGING_INSANE_MODE_715=Invalid UNIX file permissions %s \
+  does not allow write access to the log file by the log publisher
+SEVERE_ERR_CONFIG_LOGGING_MODE_INVALID_716=Invalid UNIX file permissions %s: %s
\ No newline at end of file

--
Gitblit v1.10.0