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 1401203

Summary: util-linux-ng depends on kernel
Product: Red Hat Enterprise Linux 6 Reporter: Victoriano Giralt <victoriano>
Component: util-linux-ngAssignee: Karel Zak <kzak>
Status: CLOSED DUPLICATE QA Contact: qe-baseos-daemons
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.9CC: armin.bube, jscalf, lists.dg, quentin.clarenne, vdanek
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-03 11:05:14 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 Victoriano Giralt 2016-12-03 13:04:25 UTC
Description of problem: updating util-linux-ng forces installation of kernel and its dependencies. This creates an unneeded kernel installation in containerized systems.

Version-Release number of selected component (if applicable):
2.17.2-12.24.el6_8.1

How reproducible: Always


Steps to Reproduce:
1. yum upgrade util-linux-ng

Actual results:
Requires kernel package

Expected results:
Installs without bringing in kernel

Additional info:
Dependencies for util-linux-ng-2.17.2-12.24.el6.x86_64
  dependency: libc.so.6(GLIBC_2.8)(64bit)
  dependency: libz.so.1()(64bit)
  dependency: rtld(GNU_HASH)
  dependency: pam >= 1.0.90
  dependency: libpopt.so.0()(64bit)
  dependency: udev
  dependency: coreutils
  dependency: libuuid.so.1()(64bit)
  dependency: libutempter.so.0(UTEMPTER_1.1)(64bit)
  dependency: libutempter.so.0()(64bit)
  dependency: libutil.so.1(GLIBC_2.2.5)(64bit)
  dependency: libpam_misc.so.0(LIBPAM_MISC_1.0)(64bit)
  dependency: libaudit.so.1()(64bit)
  dependency: libtinfo.so.5()(64bit)
  dependency: libblkid = 2.17.2-12.24.el6
  dependency: libuuid.so.1(UUID_1.0)(64bit)
  dependency: libncursesw.so.5()(64bit)
  dependency: libblkid.so.1(BLKID_1.0)(64bit)
  dependency: libpam.so.0()(64bit)
  dependency: audit-libs >= 1.0.6
  dependency: libselinux.so.1()(64bit)
  dependency: libutil.so.1()(64bit)
  dependency: /sbin/install-info
  dependency: libsepol.so.1()(64bit)
  dependency: libpam_misc.so.0()(64bit)
  dependency: /etc/pam.d/system-auth
  dependency: /bin/sh
  dependency: libblkid.so.1(BLKID_2.17)(64bit)
  dependency: /bin/bash
  dependency: libuuid = 2.17.2-12.24.el6
  dependency: libblkid.so.1(BLKID_2.15)(64bit)
  dependency: libpopt.so.0(LIBPOPT_0)(64bit)
  dependency: libpam.so.0(LIBPAM_1.0)(64bit)
  dependency: libblkid.so.1()(64bit)

Dependencies for util-linux-ng-2.17.2-12.24.el6_8.1
  dependency: libc.so.6(GLIBC_2.8)(64bit)
  dependency: libz.so.1()(64bit)
  dependency: rtld(GNU_HASH)
  dependency: pam >= 1.0.90
  dependency: libpopt.so.0()(64bit)
  dependency: udev
  dependency: coreutils
  dependency: libuuid.so.1()(64bit)
  dependency: libutempter.so.0(UTEMPTER_1.1)(64bit)
  dependency: libutempter.so.0()(64bit)
  dependency: libutil.so.1(GLIBC_2.2.5)(64bit)
  dependency: libpam_misc.so.0(LIBPAM_MISC_1.0)(64bit)
  dependency: libaudit.so.1()(64bit)
  dependency: libtinfo.so.5()(64bit)
  dependency: libblkid = 2.17.2-12.24.el6
  dependency: libuuid.so.1(UUID_1.0)(64bit)
  dependency: libncursesw.so.5()(64bit)
  dependency: libblkid.so.1(BLKID_1.0)(64bit)
  dependency: libpam.so.0()(64bit)
  dependency: audit-libs >= 1.0.6
  dependency: libselinux.so.1()(64bit)
  dependency: libutil.so.1()(64bit)
  dependency: /sbin/install-info
  dependency: libsepol.so.1()(64bit)
  dependency: libpam_misc.so.0()(64bit)
  dependency: /etc/pam.d/system-auth
  dependency: /bin/sh
  dependency: libblkid.so.1(BLKID_2.17)(64bit)
  dependency: /bin/bash
  dependency: libuuid = 2.17.2-12.24.el6
  dependency: libblkid.so.1(BLKID_2.15)(64bit)
  dependency: libpopt.so.0(LIBPOPT_0)(64bit)
  dependency: libpam.so.0(LIBPAM_1.0)(64bit)
  dependency: libblkid.so.1()(64bit)
  dependency: libblkid.so.1(BLKID_1.0)
  dependency: libc.so.6(GLIBC_2.8)
  dependency: libpam.so.0
  dependency: libtinfo.so.5
  dependency: rtld(GNU_HASH)
  dependency: pam >= 1.0.90
  dependency: libutempter.so.0
  dependency: udev
  dependency: coreutils
  dependency: libsepol.so.1
  dependency: libutempter.so.0(UTEMPTER_1.1)
  dependency: libuuid = 2.17.2-12.24.el6
  dependency: libpopt.so.0
  dependency: libblkid.so.1(BLKID_2.17)
  dependency: libpam_misc.so.0
  dependency: libutil.so.1
  dependency: libblkid = 2.17.2-12.24.el6
  dependency: libpam_misc.so.0(LIBPAM_MISC_1.0)
  dependency: libuuid.so.1
  dependency: libpam.so.0(LIBPAM_1.0)
  dependency: libutil.so.1(GLIBC_2.0)
  dependency: libz.so.1
  dependency: audit-libs >= 1.0.6
  dependency: libuuid.so.1(UUID_1.0)
  dependency: /sbin/install-info
  dependency: libselinux.so.1
  dependency: /etc/pam.d/system-auth
  dependency: /bin/sh
  dependency: libncursesw.so.5
  dependency: /bin/bash
  dependency: libaudit.so.1
  dependency: libpopt.so.0(LIBPOPT_0)
  dependency: libblkid.so.1
  dependency: libblkid.so.1(BLKID_2.15)
  dependency: libc.so.6(GLIBC_2.8)(64bit)
  dependency: libz.so.1()(64bit)
  dependency: rtld(GNU_HASH)
  dependency: pam >= 1.0.90
  dependency: libblkid = 2.17.2-12.24.el6_8.1
  dependency: libpopt.so.0()(64bit)
  dependency: libuuid = 2.17.2-12.24.el6_8.1
  dependency: udev
  dependency: coreutils
  dependency: libuuid.so.1()(64bit)
  dependency: libutempter.so.0(UTEMPTER_1.1)(64bit)
  dependency: libutempter.so.0()(64bit)
  dependency: libutil.so.1(GLIBC_2.2.5)(64bit)
  dependency: libpam_misc.so.0(LIBPAM_MISC_1.0)(64bit)
  dependency: libaudit.so.1()(64bit)
  dependency: libtinfo.so.5()(64bit)
  dependency: libuuid.so.1(UUID_1.0)(64bit)
  dependency: libncursesw.so.5()(64bit)
  dependency: libblkid.so.1(BLKID_1.0)(64bit)
  dependency: libpam.so.0()(64bit)
  dependency: audit-libs >= 1.0.6
  dependency: libselinux.so.1()(64bit)
  dependency: libutil.so.1()(64bit)
  dependency: /sbin/install-info
  dependency: libsepol.so.1()(64bit)
  dependency: libpam_misc.so.0()(64bit)
  dependency: /etc/pam.d/system-auth
  dependency: /bin/sh
  dependency: libblkid.so.1(BLKID_2.17)(64bit)
  dependency: /bin/bash
  dependency: kernel >= 2.6.32-642
  dependency: libblkid.so.1(BLKID_2.15)(64bit)
  dependency: libpopt.so.0(LIBPOPT_0)(64bit)
  dependency: libpam.so.0(LIBPAM_1.0)(64bit)
  dependency: libblkid.so.1()(64bit)
  dependency: libblkid.so.1(BLKID_1.0)
  dependency: libc.so.6(GLIBC_2.8)
  dependency: libpam.so.0
  dependency: libtinfo.so.5
  dependency: rtld(GNU_HASH)
  dependency: pam >= 1.0.90
  dependency: libblkid = 2.17.2-12.24.el6_8.1
  dependency: libutempter.so.0
  dependency: libuuid = 2.17.2-12.24.el6_8.1
  dependency: udev
  dependency: coreutils
  dependency: libsepol.so.1
  dependency: libutempter.so.0(UTEMPTER_1.1)
  dependency: libpopt.so.0
  dependency: libblkid.so.1(BLKID_2.17)
  dependency: libpam_misc.so.0
  dependency: libutil.so.1
  dependency: libpam_misc.so.0(LIBPAM_MISC_1.0)
  dependency: libuuid.so.1
  dependency: libpam.so.0(LIBPAM_1.0)
  dependency: libutil.so.1(GLIBC_2.0)
  dependency: libz.so.1
  dependency: audit-libs >= 1.0.6
  dependency: libuuid.so.1(UUID_1.0)
  dependency: /sbin/install-info
  dependency: libselinux.so.1
  dependency: /etc/pam.d/system-auth
  dependency: /bin/sh
  dependency: libncursesw.so.5
  dependency: /bin/bash
  dependency: kernel >= 2.6.32-642
  dependency: libaudit.so.1
  dependency: libpopt.so.0(LIBPOPT_0)
  dependency: libblkid.so.1
  dependency: libblkid.so.1(BLKID_2.15)

Comment 3 Karel Zak 2016-12-05 12:15:17 UTC
This is required by bug #1349192 where we have dependence on kernel change.

Comment 4 Victoriano Giralt 2016-12-05 12:19:45 UTC
But, given util-linux-ng core nature, it forces an unneeded kernel install into containerized systems.

Maybe it is time to have a dummy kernel package that makes util-linux-ng believe there is a kernel installed in the system?

I cant se but #1349192, so I cannot give any opinion on that :-(

Comment 5 Karel Zak 2016-12-05 13:06:23 UTC
Victoriano, yes I understand your point of view and your user-case is definitely valid. 

The issue around bug #1349192: we have made some necessary change to login and kernel, but after util-linux update the output from login/telnet has been corrupted without kernel update. So, update of both components is necessary. That's all the story.

The dependence on kernel is definitely not permanent solution (and we don't use it for RHEL7 or Fedora). I'll try to fix the problem ASAP.

Thanks for your report.

Comment 7 Ph-Quentin 2016-12-16 16:46:43 UTC
Hi All,

Do you have some news about this issue ? A lot of security update can't be patch due to this bug:

[2016-12-15 03:03:26 +0100]      [10126] --> Finished Dependency Resolution
[2016-12-15 03:03:26 +0100]      [10126] Error: Package: util-linux-ng-2.17.2-12.24.el6_8.1.x86_64 (updates)
[2016-12-15 03:03:26 +0100]      [10126]  You could try using --skip-broken to work around the problem
[2016-12-15 03:03:26 +0100]      [10126]  You could try running: rpm -Va --nofiles --nodigest
[2016-12-15 03:03:26 +0100]      [10126] (XID us4ggh) The system failed to execute yum with the arguments “-y -c /etc/yum.conf update --disablerepo=epel” because of an error: The “/usr/bin/yum” command (process 10139) reported error number 1 when it ended. : Error: Package: util-linux-ng-2.17.2-12.24.el6_8.1.x86_64 (updates)
[2016-12-15 03:03:26 +0100]      [10126]            Requires: kernel >= 2.6.32-642
[2016-12-15 03:03:26 +0100]      [10126] checkyum version 22.3

Yes we can do a "yum update --skip-broken -y"

#: For all all containers with OpenVZ
for CT in $(vzlist -H -o ctid); do echo "== CT $CT =="; vzctl exec $CT "yum update --skip-broken -y"; done

But it's not a the right way to do.

Comment 8 Daniel Gomez 2016-12-20 11:56:04 UTC
Hi Ph-Quentin,

A workaround for OpenVZ to "skip broken" is adding these packages, util-linux-ng, libblkid and libuuid into the exclude list: 

exclude=kernel* util-linux-ng* libblkid* libuuid*

Comment 10 Karel Zak 2017-01-03 11:05:14 UTC
I'm going to close this bug as a duplicate of the bug #1349192 (originally triggered this issue). It seems better to discuss all on one place. Thanks.

*** This bug has been marked as a duplicate of bug 1349192 ***

Comment 11 Daniel Gomez 2017-01-09 13:17:47 UTC
The "bug #1349192" is closed for internal development and we cannot see any status.

Comment 12 Ph-Quentin 2017-02-03 17:47:32 UTC
You are not authorized to access bug #1349192. 

Do you have some news/ETA ?