Bug 674917

Summary: Restore identification of Tomcat-based PKI subsystem instances
Product: [Retired] Dogtag Certificate System Reporter: Matthew Harmsen <mharmsen>
Component: Execution Management (start/stop/restart)Assignee: Matthew Harmsen <mharmsen>
Status: CLOSED EOL QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: high    
Version: 9.0CC: dpal, jmagne
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 18:33:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Identify Tomcat PKI Instances with their associated PKI Subsystem awnuk: review+

Description Matthew Harmsen 2011-02-03 18:19:06 UTC
With the change from Tomcat5 to Tomcat6, Tomcat instances now automatically place pid files under '/var/run' and lock files under '/var/lock/subsys'.  However, since PKI subsystem instances can have any name, in order to identify the PKI subsystem type of a particular PKI instance, we should create a separate "pki instance type" symlink to the pid file under '/var/run/pki/<pki subsystem>', and a separate "pki instance type" symlink to the lock file under '/var/lock/pki/<pki subsystem>'.

Comment 1 Matthew Harmsen 2011-02-03 18:36:50 UTC
Created attachment 476841 [details]
Identify Tomcat PKI Instances with their associated PKI Subsystem

Comment 2 Matthew Harmsen 2011-02-03 18:42:54 UTC
# cd pki

# svn status | grep -v ^$ | grep -v ^P | grep -v ^X | grep -v ^?
M       base/ca/setup/registry_instance
M       base/common/scripts/functions
M       base/tks/setup/registry_instance
M       base/ocsp/setup/registry_instance
M       base/kra/setup/registry_instance

# svn commit
Sending        base/ca/setup/registry_instance
Sending        base/common/scripts/functions
Sending        base/kra/setup/registry_instance
Sending        base/ocsp/setup/registry_instance
Sending        base/tks/setup/registry_instance
Transmitting file data .....
Committed revision 1816.