[csw-devel] SF.net SVN: gar:[7511] csw/mgar/pkg/bind/trunk
bonivart at users.sourceforge.net
bonivart at users.sourceforge.net
Mon Nov 30 21:05:20 CET 2009
Revision: 7511
http://gar.svn.sourceforge.net/gar/?rev=7511&view=rev
Author: bonivart
Date: 2009-11-30 20:05:20 +0000 (Mon, 30 Nov 2009)
Log Message:
-----------
bind: fix more chroot stuff
Modified Paths:
--------------
csw/mgar/pkg/bind/trunk/checksums
csw/mgar/pkg/bind/trunk/files/CSWbind.cswnamed
csw/mgar/pkg/bind/trunk/files/CSWbindchroot.postinstall
csw/mgar/pkg/bind/trunk/files/bind.CSW
Modified: csw/mgar/pkg/bind/trunk/checksums
===================================================================
--- csw/mgar/pkg/bind/trunk/checksums 2009-11-30 17:28:39 UTC (rev 7510)
+++ csw/mgar/pkg/bind/trunk/checksums 2009-11-30 20:05:20 UTC (rev 7511)
@@ -1,2 +1,2 @@
-c6ffb73202550e7c87d0561179fddccf CSWbindchroot.postinstall
+4e64ed13da0d0e18aa770d6279df834a CSWbindchroot.postinstall
435bc2e26e470d46ddf2acb24abb6ea6 bind-9.6.1-P2.tar.gz
Modified: csw/mgar/pkg/bind/trunk/files/CSWbind.cswnamed
===================================================================
--- csw/mgar/pkg/bind/trunk/files/CSWbind.cswnamed 2009-11-30 17:28:39 UTC (rev 7510)
+++ csw/mgar/pkg/bind/trunk/files/CSWbind.cswnamed 2009-11-30 20:05:20 UTC (rev 7511)
@@ -6,11 +6,6 @@
# rc-script for CSW Bind
# Peter Bonivart, 2009-11-30
-USER=named
-#OPTIONS="-d 1" # debug mode
-#OPTIONS="-c /opt/csw/etc/named.conf" # use old location of conf file
-OPTIONS="-u $USER"
-
# Source config file
[ -r /etc/opt/csw/pkg/CSWbind/bind ] && . /etc/opt/csw/pkg/CSWbind/bind
@@ -25,7 +20,7 @@
ROOTDIR="-t $ROOTDIR"
fi
# ulimit -n 1024
- /opt/csw/sbin/named $OPTIONS $ROOTDIR &
+ /opt/csw/sbin/named -u named $OPTIONS $ROOTDIR &
fi
;;
stop)
Modified: csw/mgar/pkg/bind/trunk/files/CSWbindchroot.postinstall
===================================================================
--- csw/mgar/pkg/bind/trunk/files/CSWbindchroot.postinstall 2009-11-30 17:28:39 UTC (rev 7510)
+++ csw/mgar/pkg/bind/trunk/files/CSWbindchroot.postinstall 2009-11-30 20:05:20 UTC (rev 7511)
@@ -32,3 +32,5 @@
echo "and your rndc key into $ROOTDIR/etc/opt/csw."
echo
echo "The directory option in named.conf must be set to /var/named."
+echo
+echo "Uncomment the ROOTDIR option in /etc/opt/csw/pkg/CSWbind/bind."
Modified: csw/mgar/pkg/bind/trunk/files/bind.CSW
===================================================================
--- csw/mgar/pkg/bind/trunk/files/bind.CSW 2009-11-30 17:28:39 UTC (rev 7510)
+++ csw/mgar/pkg/bind/trunk/files/bind.CSW 2009-11-30 20:05:20 UTC (rev 7511)
@@ -4,5 +4,8 @@
#
# Peter Bonivart, OpenCSW
+# Options
+#OPTIONS=""
+
# Chroot directory
#ROOTDIR=/var/opt/csw/named/chroot
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list