Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
The tomcat package has
Requires(post): systemd-sysv
even if it is probably not needed.
Version-Release number of selected component (if applicable):
tomcat-7.0.42-4.el7.noarch
How reproducible:
Deterministic.
Steps to Reproduce:
1. Have RHEL 7 installation without systemd, for example in a Docker container with fakesystemd.
2. Run yum install -y tomcat.
Actual results:
Transaction check error:
file /usr/lib/rpm/macros.d/macros.systemd from install of systemd-208-11.el7.x86_64 conflicts with file from package fakesystemd-1-14.el7.x86_64
Expected results:
The installation passes, tomcat does not force the systemd-sys (and thus systemd) installation.
Additional info:
The the following can be used as a workaround:
yum swap -y -- remove fakesystemd -- install systemd systemd-libs
but it increases the image size unnecessarily.
Bugs 1104138 and 1105045 are similar.
I think the simplest solution is to let fakesystemd also provide "systemd-sysv" as proposed in BZ #1126409.
systemd-sysv-convert will obviously fail but that shouldn't affect the result of the package installation.
Feel free to prove me wrong,
Vaclav
*** This bug has been marked as a duplicate of bug 1126409 ***
Comment 3Jan Pazdziora (Red Hat)
2014-08-20 12:36:23 UTC
As noted in bug 1104138 comment 8, I don't think this is a duplicate. I'll leave it to the reporter of this bug though to reopen this bugzilla if they feel like the Requires should be removed.