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.

Bug 1155971

Summary: Circular dependency with util-linux
Product: Red Hat Enterprise Linux 7 Reporter: Ondrej Vasik <ovasik>
Component: yumAssignee: Valentina Mukhamedzhanova <vmukhame>
Status: CLOSED WONTFIX QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.0CC: james.antill, ovasik, qe-baseos-daemons, squinney, vmukhame
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1155963 Environment:
Last Closed: 2016-06-03 11:24:41 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:
Bug Depends On: 1155963    
Bug Blocks:    

Description Ondrej Vasik 2014-10-23 10:07:56 UTC
+++ This bug was initially created as a clone of Bug #1155963 +++
Description of problem:

There is a circular dependency between the coreutils and util-linux packages which seems to mean that they can be installed in the wrong order. When util-linux is installed first the post-install script for that package fails due to a lack of touch, chown, chmod and ln commands.

util-linux has:

Requires(post): coreutils

coreutils has:

Requires: util-linux >= 2.22.1-3

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

coreutils 8.22-11.el7
util-linux 2.23.2-16.el7

How reproducible:

I've only seen this when using the --installroot option for yum to create installs in alternative locations but I don't see any reason why this wouldn't affect normal systems as well.

------------------------------------------------------

Cloning this one for investigation on yum side. I have never seen transactions failing because of this (and I'm quite sure reporter is right there). It looks like --installroot behaves differently from common installation transaction. If the difference is expected, no problem. Original issue can (and will) be solved on coreutils side, but still it would be good to check it as it might be more generic.