Bug 1170797
| Summary: | remove tomcat6 dependency on redhat-lsb (and any other unnecessary ones) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Rahul Sundaram <metherid> |
| Component: | tomcat | Assignee: | Coty Sutherland <csutherl> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | el6 | CC: | csutherl, ivan.afonichev |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | tomcat-7.0.72-1.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-12 19:46:55 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
Rahul Sundaram
2014-12-04 21:43:13 UTC
This was addressed in RHEL tomcat6 as of https://bugzilla.redhat.com/show_bug.cgi?id=782400. It looks like it was removed from Fedora, but then added back to satisfy a CentOS dependency. I tried the change from that bug (depending on /lib/lsb/init-functions instead of redhat-lsb), and saw a noticeable drop in the number of packages to be installed: Transaction summary from tomcat epel6: # yum install tomcat-* .... Install 124 Package(s) Upgrade 14 Package(s) Total download size: 191 M After updating lsb dep: # cd /tmp; yum localinstall tomcat-* .... Install 77 Package(s) Upgrade 12 Package(s) Total size: 172 M Total download size: 112 M It still tries to install cups-libs and a few other things that I don't think are necessary. It turns out that this is because tomcat uses the full java package, which has dependencies on all sorts of GUI things that aren't needed by tomcat. Unfortunately I can't update the dependency from java to java-headless because the only headless package available in RHEL6 is java 8 and I'd rather not force users to use java8 for tomcat. Even if I did depend on the java-headless package from java8, it only shaves off about 7 packages and 6M of space because some other dependency (I didn't trace down which) has a dependency on java-1.5.0-gcj, for whatever reason. Anyway, I think removing redhat-lsb is definitely worth it; I'll update the lsb dependency as soon as I can. If you have any feedback on my findings, please let me know. tomcat-7.0.72-1.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-a886ace670 tomcat-7.0.72-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. tomcat-7.0.72-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. |