#388 Dogtag install on F17 fails due to implicit tomcat 6 dependency
Closed: Fixed None Opened 11 years ago by nkinder.

https://bugzilla.redhat.com/show_bug.cgi?id=869700 (Dogtag Certificate System)

Description of problem:

Dogtag 9.0 depends on Tomcat. In F17, Tomcat 7 is pulled in by yum, but Dogtag
doesn't work with Tomcat 7.

Dogtag should either explicitly depend on Tomcat 6 (which is still available
for F17), or (preferably) should be made to function with Tomcat 7.

Version-Release number of selected component (if applicable):

pki-ca-9.0.21-1.fc17.noarch

How reproducible:
100%

Steps to Reproduce:
1. yum install pki-ca
2. Observe yum pulls in tomcat 7
3. Observe systemctl can't start Dogtag

4. Uninstall tomcat 7
5. Install tomcat6-* packages
6. Observe systemctl can start Dogtag correctly

Per discussions between awnuk, nkinder, and mharmsen, simply rebuild the Fedora 17 Koji package with the following changes:

Index: tomcatjss.spec
===================================================================
--- tomcatjss.spec  (revision 235)
+++ tomcatjss.spec  (working copy)
@@ -1,6 +1,6 @@
 Name:     tomcatjss
 Version:  7.0.0
-Release:  3%{?dist}
+Release:  4%{?dist}
 Summary:  JSSE implementation using JSS for Tomcat
 URL:      http://pki.fedoraproject.org/
 License:  LGPLv2+
@@ -25,6 +25,7 @@
 Requires:         jpackage-utils >= 0:1.7.5-15
 Requires:         jss >= 4.2.6-24
 Requires:         tomcat >= 7.0.27
+Requires:         tomcat6 >= 6.0.32-16

 # The 'tomcatjss' package conflicts with the 'tomcat-native' package
 # because it uses an underlying NSS security model rather than the
@@ -76,6 +77,9 @@
 %{_javadir}/*

 %changelog
+* Mon Oct 29 2012 Christina Fu <cfu@redhat.com> 7.0.0-4
+- Added runtime requirement for Tomcat 6.
+
 * Thu Aug  2 2012 Matthew Harmsen <mharmsen@redhat.com> 7.0.0-3
 - PKI TRAC Ticket #283 - Dogtag 10: Integrate Tomcat 6 'tomcatjss.jar' and
   Tomcat 7 'tomcat7jss.jar' in Fedora 18 tomcatjss package

Do not check these changes into the Subversion source; only make them to the tomcatjss.spec file within the Koji buildroot for Fedora 17.

--- a/specs/pki-core.spec
+++ b/specs/pki-core.spec
@@ -296,6 +296,7 @@ Requires:         apache-commons-lang
 Requires:         apache-commons-logging
 Requires:         jss >= 4.2.6-19.1
 Requires:         tomcatjss >= 6.0.2
+Requires:         tomcat6 >= 6.0.35
 %else
 %if 0%{?fedora} >= 15
 Requires:         apache-commons-lang
git push
Counting objects: 27, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (14/14), done.
Writing objects: 100% (14/14), 1.86 KiB, done.
Total 14 (delta 13), reused 0 (delta 0)
To ssh://git.fedorahosted.org/git/pki.git
   ad7a3ab..29fe9fa  DOGTAG_9_BRANCH -> DOGTAG_9_BRANCH

Fix included in pki-core-9.0.24-1.fc17 and pki-core-9.0.24-1.fc16.

Metadata Update from @nkinder:
- Issue assigned to awnuk
- Issue set to the milestone: 9.0.24

7 years ago

Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new
issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.

This issue has been cloned to GitHub and is available here:
https://github.com/dogtagpki/pki/issues/959

If you want to receive further updates on the issue, please navigate to the
GitHub issue and click on Subscribe button.

Thank you for understanding, and we apologize for any inconvenience.

Log in to comment on this ticket.

Metadata