Bug 974535

Summary: Bad jss4.jar symlink crashes IPA server installation
Product: Red Hat Enterprise Linux 7 Reporter: Martin Kosek <mkosek>
Component: pki-coreAssignee: Matthew Harmsen <mharmsen>
Status: CLOSED CURRENTRELEASE QA Contact: Asha Akkiangady <aakkiang>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.0CC: alee, edewata, e-s-g-r, jgalipea, nkinder, nsoman
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pki-core-10.0.3-2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 09:55:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin Kosek 2013-06-14 11:26:40 UTC
Description of problem:

Bad jss4.jar symlink crashes IPA server installation:

# ipa-server-install
...
  [35/37]: enabling compatibility plugin
  [36/37]: tuning directory server
  [37/37]: configuring directory to start on boot
Done configuring directory server (dirsrv).
Configuring certificate server (pki-tomcatd): Estimated time 3 minutes 30 seconds
  [1/20]: creating certificate server user
  [2/20]: configuring certificate server instance
ipa         : CRITICAL failed to configure ca instance Command '/usr/sbin/pkispawn -s CA -f /tmp/tmp6L6j03' returned non-zero exit status 1
Configuration of CA failed

/var/log/ipaserver-install.log
2013-06-14T11:19:00Z DEBUG Starting external process
2013-06-14T11:19:00Z DEBUG args=/usr/sbin/pkispawn -s CA -f /tmp/tmp6L6j03
2013-06-14T11:19:04Z DEBUG Process finished, return code=1
2013-06-14T11:19:04Z DEBUG stdout=Loading deployment configuration from /tmp/tmp6L6j03.
Installing CA into /var/lib/pki/pki-tomcat.
Storing deployment configuration into /etc/sysconfig/pki/tomcat/pki-tomcat/ca/deployment.cfg.
Installation failed.


2013-06-14T11:19:04Z DEBUG stderr=pkispawn    : WARNING  ....... Dangling symlink '/var/lib/pki/pki-    tomcat/common/lib/jss4.jar'-->'/usr/lib64/java/jss4.jar'

2013-06-14T11:19:04Z CRITICAL failed to configure ca instance Command '/usr/sbin/pkispawn -s CA -f /tmp/tmp6L6j03' returned non-zero exit status 1


Version-Release number of selected component (if applicable):
ipa-server-3.2.1-1.el7.x86_64
pki-ca-10.0.3-1.el7.noarch

How reproducible:


Steps to Reproduce:
1. Run ipa-server-install
2.
3.

Actual results:
pki-ca installation crashes

Expected results:
pki-ca installation does not crash

Additional info:
The actual file seems to be here: /usr/lib64/jss/jss4.jar

Comment 2 Ade Lee 2013-06-14 17:55:10 UTC
This issue is addressed in pki-core-10.0.3-2, which was built today on f18 and f19.

I will close the bug once we have a RHEL build.

Comment 4 Namita Soman 2014-01-27 14:16:53 UTC
Verified using ipa-server-3.3.3-13.el7.x86_64, pki-core-10.0.5-3

ipa-server install was successful.

Comment 5 Ludek Smid 2014-06-13 09:55:54 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.