From 24727d1b096cd30f7474ca9c03fa9c1be04be0cd Mon Sep 17 00:00:00 2001 From: Ade Lee Date: Wed, 20 Nov 2013 10:23:15 -0500 Subject: Add migration scripts to fix registry file and ownership Migration scripts have been added to update the registry file for tomcat instances to use PKI_INSTANCE_NAME instead of PKI_INSTANCE_ID. File ownershipof the registry file and log files is also fixed. Also removed unused lock file logic in operations startup script. This is for migration from 10.0 -> 10.1 Ticket 805 --- base/server/scripts/operations | 8 -------- 1 file changed, 8 deletions(-) (limited to 'base/server/scripts') diff --git a/base/server/scripts/operations b/base/server/scripts/operations index d2b666a5a..7d026fe31 100644 --- a/base/server/scripts/operations +++ b/base/server/scripts/operations @@ -34,9 +34,6 @@ if [ -f /etc/pki/pki.conf ] ; then . /etc/pki/pki.conf fi -# PKI subsystem-level directory and file values for locks -lockfile="/var/lock/subsys/${SERVICE_NAME}" - default_error=0 case $command in @@ -1421,11 +1418,6 @@ start() fi done - if [ ${TOTAL_PKI_REGISTRY_ENTRIES} -gt ${errors} ] ; then - touch ${lockfile} - chmod 00600 ${lockfile} - fi - # ONLY print a "WARNING" message if multiple # instances are being examined if [ ${TOTAL_PKI_REGISTRY_ENTRIES} -gt 1 ] ; then -- cgit