[Ultrapossum-cvs 177] ultrapossum/module/server 1.42, 1.43, update-server

Back to archive index

Masato Taruishi taru****@sourc*****
2004年 6月 16日 (水) 19:51:13 JST


===================================================================
RCS file: ultrapossum/module/server/update-server,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- ultrapossum/module/server/update-server	2004/06/16 10:08:47	1.42
+++ ultrapossum/module/server/update-server	2004/06/16 10:51:13	1.43
@@ -236,6 +236,15 @@
     echo "E: can't detect slapd supports syncbackup." 1>&2
     exit 1
   fi
+  if test "x$CHROOTDIRECTORY" != "x"; then
+    egrep "^directory" $SLAPDCONF | awk -F' ' '{print $2;}' | while read d
+    do
+      if ! test -d "$CHROOTDIRECTORY$d"; then
+        echo "E: $d not found in chroot defined in $SLAPDCONF" 1>&2
+	exit 1
+      fi
+    done
+  fi
   if test -e "$DIRECTORY"; then
     if test -f "$DIRECTORY/ultrapossum-environ"; then
       val=`getvalue $DIRECTORY/ultrapossum-environ SUFFIX`



Ultrapossum-cvs メーリングリストの案内
Back to archive index