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 1155963 - Circular dependency with util-linux
Summary: Circular dependency with util-linux
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: coreutils
Version: 7.0
Hardware: Unspecified
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Ondrej Vasik
QA Contact: qe-baseos-daemons
Robert Krátký
URL:
Whiteboard:
Depends On:
Blocks: 1110700 1155971 1191021 1205796 1206009
TreeView+ depends on / blocked
 
Reported: 2014-10-23 09:36 UTC by Stephen Quinney
Modified: 2015-11-19 12:44 UTC (History)
4 users (show)

Fixed In Version: coreutils-8.22-13.el7
Doc Type: Bug Fix
Doc Text:
Circular dependency between coreutils and util-linux packages removed A redundant dependency, which was introduced between the _coreutils_ and _util-linux_ packages when utilities were moved from one package to another, has been removed because it was no longer required. The elimination of the circular dependency makes "yum" transactions more predictable.
Clone Of:
: 1155971 1206009 (view as bug list)
Environment:
Last Closed: 2015-11-19 12:44:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:2160 0 normal SHIPPED_LIVE coreutils bug fix and enhancement update 2015-11-19 11:10:56 UTC

Description Stephen Quinney 2014-10-23 09:36:17 UTC
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.

Comment 2 Ondrej Vasik 2014-10-23 09:57:30 UTC
Requirement for util-linux is there to prevent potential loss of su/runuser utilities. We may remove it in RHEL 7, as there this can't happen for sure.

Comment 3 Stephen Quinney 2014-10-23 10:00:19 UTC
(In reply to Ondrej Vasik from comment #2)
> Requirement for util-linux is there to prevent potential loss of su/runuser
> utilities. We may remove it in RHEL 7, as there this can't happen for sure.

Yep, having read the specfile I could see why it had originally been added. It still potentially breaks the correct ordering of installs though so it would be good if there could be a better solution.

Thanks,

Stephen

Comment 9 errata-xmlrpc 2015-11-19 12:44:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2160.html


Note You need to log in before you can comment on or make changes to this bug.