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 1677818

Summary: rpm -V after microdnf install in ubi7-container reports an error
Product: Red Hat Enterprise Linux 7 Reporter: Clayton Coleman <ccoleman>
Component: ubi7-minimal-containerAssignee: Jindrich Novy <jnovy>
Status: CLOSED WONTFIX QA Contact: Martin Jenner <mjenner>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.6CC: bbreard, dornelas, jwboyer, mblaha, mdomonko, smccarty
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-03-15 07:33:22 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 Clayton Coleman 2019-02-16 03:11:53 UTC
While testing using ubi7-minimal with microdnf and OpenShift 4 container images, I noticed that the use of `rpm -V` to verify microdnf reported a change.

The base image in use here has microdnf symlinked to yum, but rpm -V after installing findutils had an error:

--> FROM docker-registry.default.svc:5000/ci-op-v8fn8w98/pipeline@sha256:6d7317625da90bcb3e9f08a0cc4cbe7ac4167492a42fb9fca0538c08aa799b0c as 1
--> RUN INSTALL_PKGS="       which tar wget hostname sysvinit-tools util-linux       socat tree findutils lsof bind-utils       git tar bsdtar       " &&     yum install -y $INSTALL_PKGS &&     rpm -V $INSTALL_PKGS &&     yum clean all

(process:13): librhsm-WARNING **: 02:56:16.217: Found 0 entitlement certificates

(process:13): librhsm-WARNING **: 02:56:16.220: Found 0 entitlement certificates
Downloading metadata...
Downloading metadata...
Downloading metadata...
Downloading metadata...
Downloading metadata...
Transaction: 79 packages
sysvinit-tools-2.88-14.dsf.el7.x86_64 (rhel-server)
tree-1.6.0-10.el7.x86_64 (rhel-server)
git-1.8.3.1-20.el7.x86_64 (rhel-server)
bsdtar-3.1.2-10.el7_2.x86_64 (rhel-server-optional)
less-458-9.el7.x86_64 (rhel-server)
openssh-clients-7.4p1-16.el7.x86_64 (rhel-server)
perl-4:5.16.3-294.el7_6.x86_64 (rhel-server)
perl-Error-1:0.17020-2.el7.noarch (rhel-server)
perl-Exporter-5.68-3.el7.noarch (rhel-server)
perl-File-Path-2.09-2.el7.noarch (rhel-server)
perl-File-Temp-0.23.01-3.el7.noarch (rhel-server)
perl-Getopt-Long-2.40-3.el7.noarch (rhel-server)
perl-Git-1.8.3.1-20.el7.noarch (rhel-server)
perl-PathTools-3.40-5.el7.x86_64 (rhel-server)
perl-TermReadKey-2.30-20.el7.x86_64 (rhel-server)
python-2.7.5-76.el7.x86_64 (rhel-server)
rsync-3.1.2-4.el7.x86_64 (rhel-server)
libarchive-3.1.2-10.el7_2.x86_64 (rhel-server)
lzo-2.06-8.el7.x86_64 (rhel-server)
groff-base-1.22.2-8.el7.x86_64 (rhel-server)
fipscheck-lib-1.4.1-6.el7.x86_64 (rhel-server)
libedit-3.0-12.20121213cvs.el7.x86_64 (rhel-server)
openssh-7.4p1-16.el7.x86_64 (rhel-server)
gdbm-1.10-8.el7.x86_64 (rhel-server)
perl-Carp-1.26-244.el7.noarch (rhel-server)
perl-Filter-1.49-3.el7.x86_64 (rhel-server)
perl-Pod-Simple-1:3.28-4.el7.noarch (rhel-server)
perl-Scalar-List-Utils-1.27-248.el7.x86_64 (rhel-server)
perl-Socket-2.010-4.el7.x86_64 (rhel-server)
perl-Storable-2.45-3.el7.x86_64 (rhel-server)
perl-Time-HiRes-4:1.9725-3.el7.x86_64 (rhel-server)
perl-Time-Local-1.2300-2.el7.noarch (rhel-server)
perl-constant-1.27-2.el7.noarch (rhel-server)
perl-libs-4:5.16.3-294.el7_6.x86_64 (rhel-server)
perl-macros-4:5.16.3-294.el7_6.x86_64 (rhel-server)
perl-threads-1.87-4.el7.x86_64 (rhel-server)
perl-threads-shared-1.43-6.el7.x86_64 (rhel-server)
perl-Pod-Usage-1.63-3.el7.noarch (rhel-server)
perl-Text-ParseWords-3.29-4.el7.noarch (rhel-server)
python-libs-2.7.5-76.el7.x86_64 (rhel-server)
systemd-219-62.el7_6.3.x86_64 (rhel-server)
fipscheck-1.4.1-6.el7.x86_64 (rhel-server)
perl-Encode-2.51-7.el7.x86_64 (rhel-server)
perl-Pod-Escapes-1:1.04-294.el7_6.noarch (rhel-server)
perl-Pod-Perldoc-3.20-4.el7.noarch (rhel-server)
perl-podlators-2.5.1-3.el7.noarch (rhel-server)
acl-2.2.51-14.el7.x86_64 (rhel-server)
cryptsetup-libs-2.0.3-3.el7.x86_64 (rhel-server)
dbus-1:1.10.24-12.el7.x86_64 (rhel-server)
elfutils-libs-0.172-2.el7.x86_64 (rhel-server)
kmod-20-23.el7.x86_64 (rhel-server)
kmod-libs-20-23.el7.x86_64 (rhel-server)
pam-1.1.8-22.el7.x86_64 (rhel-server)
qrencode-libs-3.4.1-3.el7.x86_64 (rhel-server)
shadow-utils-2:4.1.5.1-25.el7.x86_64 (rhel-server)
perl-HTTP-Tiny-0.033-3.el7.noarch (rhel-server)
perl-parent-1:0.225-244.el7.noarch (rhel-server)
device-mapper-libs-7:1.02.149-10.el7_6.3.x86_64 (rhel-server)
dbus-libs-1:1.10.24-12.el7.x86_64 (rhel-server)
systemd-libs-219-62.el7_6.3.x86_64 (rhel-server)
elfutils-default-yama-scope-0.172-2.el7.noarch (rhel-server)
binutils-2.27-34.base.el7.x86_64 (rhel-server)
cpio-2.11-27.el7.x86_64 (rhel-server)
dracut-033-554.el7.x86_64 (rhel-server)
gzip-1.5-10.el7.x86_64 (rhel-server)
xz-5.2.2-1.el7.x86_64 (rhel-server)
cracklib-2.9.0-11.el7.x86_64 (rhel-server)
cracklib-dicts-2.9.0-11.el7.x86_64 (rhel-server)
libsemanage-2.5-14.el7.x86_64 (rhel-server)
device-mapper-7:1.02.149-10.el7_6.3.x86_64 (rhel-server)
hardlink-1:1.0-19.el7.x86_64 (rhel-server)
kpartx-0.4.9-123.el7.x86_64 (rhel-server)
ustr-1.0.4-16.el7.x86_64 (rhel-server)
util-linux-2.23.2-59.el7.x86_64 (rhel-server)
libuser-0.60-9.el7.x86_64 (rhel-server)
libutempter-1.1.6-4.el7.x86_64 (rhel-server)
diffutils-3.3-4.el7.x86_64 (rhel-server)
libpwquality-1.2.3-5.el7.x86_64 (rhel-server)
procps-ng-3.3.10-23.el7.x86_64 (rhel-server)
Downloading packages...
Running transaction test...
Installing: fipscheck;1.4.1-6.el7;x86_64;rhel-server
Installing: fipscheck-lib;1.4.1-6.el7;x86_64;rhel-server
Installing: gzip;1.5-10.el7;x86_64;rhel-server
Installing: cracklib;2.9.0-11.el7;x86_64;rhel-server
Installing: cracklib-dicts;2.9.0-11.el7;x86_64;rhel-server
Installing: libpwquality;1.2.3-5.el7;x86_64;rhel-server
Installing: pam;1.1.8-22.el7;x86_64;rhel-server
Installing: diffutils;3.3-4.el7;x86_64;rhel-server
Installing: xz;5.2.2-1.el7;x86_64;rhel-server
Installing: cpio;2.11-27.el7;x86_64;rhel-server
Installing: gdbm;1.10-8.el7;x86_64;rhel-server
Installing: groff-base;1.22.2-8.el7;x86_64;rhel-server
Installing: (null)
Installing: lzo;2.06-8.el7;x86_64;rhel-server
Installing: (null)
Installing: libarchive;3.1.2-10.el7_2;x86_64;rhel-server
Installing: (null)
Installing: less;458-9.el7;x86_64;rhel-server
Installing: (null)
Installing: perl-HTTP-Tiny;0.033-3.el7;noarch;rhel-server
Installing: (null)
Installing: perl-parent;1:0.225-244.el7;noarch;rhel-server
Installing: (null)
Installing: perl-podlators;2.5.1-3.el7;noarch;rhel-server
Installing: (null)
Installing: perl-Pod-Perldoc;3.20-4.el7;noarch;rhel-server
Installing: (null)
Installing: perl-Text-ParseWords;3.29-4.el7;noarch;rhel-server
Installing: (null)
Installing: perl-Pod-Escapes;1:1.04-294.el7_6;noarch;rhel-server
Installing: perl-Encode;2.51-7.el7;x86_64;rhel-server
Installing: (null)
Installing: perl-Pod-Usage;1.63-3.el7;noarch;rhel-server
Installing: (null)
Installing: perl-Exporter;5.68-3.el7;noarch;rhel-server
Installing: (null)
Installing: perl-Carp;1.26-244.el7;noarch;rhel-server
Installing: (null)
Installing: perl-Filter;1.49-3.el7;x86_64;rhel-server
Installing: (null)
Installing: perl-File-Path;2.09-2.el7;noarch;rhel-server
Installing: (null)
Installing: perl-PathTools;3.40-5.el7;x86_64;rhel-server
Installing: (null)
Installing: perl-Scalar-List-Utils;1.27-248.el7;x86_64;rhel-server
Installing: (null)
Installing: perl-Socket;2.010-4.el7;x86_64;rhel-server
Installing: (null)
Installing: perl-Storable;2.45-3.el7;x86_64;rhel-server
Installing: perl-Time-HiRes;4:1.9725-3.el7;x86_64;rhel-server
Installing: (null)
Installing: perl-File-Temp;0.23.01-3.el7;noarch;rhel-server
Installing: (null)
Installing: perl-Time-Local;1.2300-2.el7;noarch;rhel-server
Installing: (null)
Installing: perl-constant;1.27-2.el7;noarch;rhel-server
Installing: (null)
Installing: perl-libs;4:5.16.3-294.el7_6;x86_64;rhel-server
Installing: (null)
Installing: perl-macros;4:5.16.3-294.el7_6;x86_64;rhel-server
Installing: (null)
Installing: perl-threads;1.87-4.el7;x86_64;rhel-server
Installing: (null)
Installing: perl-threads-shared;1.43-6.el7;x86_64;rhel-server
Installing: (null)
Installing: perl-Pod-Simple;1:3.28-4.el7;noarch;rhel-server
Installing: (null)
Installing: perl-Getopt-Long;2.40-3.el7;noarch;rhel-server
Installing: (null)
Installing: perl;4:5.16.3-294.el7_6;x86_64;rhel-server
Installing: (null)
Installing: perl-Error;1:0.17020-2.el7;noarch;rhel-server
Installing: (null)
Installing: perl-TermReadKey;2.30-20.el7;x86_64;rhel-server
Installing: (null)
Installing: python-libs;2.7.5-76.el7;x86_64;rhel-server
Installing: (null)
Installing: python;2.7.5-76.el7;x86_64;rhel-server
Installing: (null)
Installing: libuser;0.60-9.el7;x86_64;rhel-server
Installing: (null)
Installing: ustr;1.0.4-16.el7;x86_64;rhel-server
Installing: (null)
Installing: libsemanage;2.5-14.el7;x86_64;rhel-server
Installing: (null)
Installing: shadow-utils;2:4.1.5.1-25.el7;x86_64;rhel-server
Installing: (null)
Installing: libutempter;1.1.6-4.el7;x86_64;rhel-server
Installing: (null)
Installing: hardlink;1:1.0-19.el7;x86_64;rhel-server
Installing: (null)
Installing: binutils;2.27-34.base.el7;x86_64;rhel-server
Installing: (null)
Installing: qrencode-libs;3.4.1-3.el7;x86_64;rhel-server
Installing: (null)
Installing: kmod-libs;20-23.el7;x86_64;rhel-server
Installing: (null)
Installing: acl;2.2.51-14.el7;x86_64;rhel-server
Installing: (null)
Installing: util-linux;2.23.2-59.el7;x86_64;rhel-server
Installing: (null)
Installing: procps-ng;3.3.10-23.el7;x86_64;rhel-server
Installing: kpartx;0.4.9-123.el7;x86_64;rhel-server
Installing: (null)
Installing: device-mapper;7:1.02.149-10.el7_6.3;x86_64;rhel-server
Installing: (null)
Installing: dracut;033-554.el7;x86_64;rhel-server
Installing: (null)
Installing: kmod;20-23.el7;x86_64;rhel-server
Installing: (null)
Installing: device-mapper-libs;7:1.02.149-10.el7_6.3;x86_64;rhel-server
Installing: (null)
Installing: cryptsetup-libs;2.0.3-3.el7;x86_64;rhel-server
Installing: (null)
Installing: elfutils-libs;0.172-2.el7;x86_64;rhel-server
Installing: (null)
Installing: systemd-libs;219-62.el7_6.3;x86_64;rhel-server
Installing: (null)
Installing: dbus-libs;1:1.10.24-12.el7;x86_64;rhel-server
Installing: systemd;219-62.el7_6.3;x86_64;rhel-server
Installing: (null)
Failed to get D-Bus connection: Operation not permitted
Installing: dbus;1:1.10.24-12.el7;x86_64;rhel-server
Installing: (null)
Installing: elfutils-default-yama-scope;0.172-2.el7;noarch;rhel-server
Installing: (null)
Installing: rsync;3.1.2-4.el7;x86_64;rhel-server
Installing: (null)
Installing: openssh;7.4p1-16.el7;x86_64;rhel-server
Installing: (null)
Installing: libedit;3.0-12.20121213cvs.el7;x86_64;rhel-server
Installing: (null)
Installing: openssh-clients;7.4p1-16.el7;x86_64;rhel-server
Installing: (null)
Installing: perl-Git;1.8.3.1-20.el7;noarch;rhel-server
Installing: (null)
Installing: git;1.8.3.1-20.el7;x86_64;rhel-server
Installing: (null)
Installing: bsdtar;3.1.2-10.el7_2;x86_64;rhel-server-optional
Installing: (null)
Installing: tree;1.6.0-10.el7;x86_64;rhel-server
Installing: (null)
Installing: sysvinit-tools;2.88-14.dsf.el7;x86_64;rhel-server
Installing: (null)
Installing: (null)
Complete.
missing     /usr/bin/oldfind
error: build error: running 'INSTALL_PKGS="       which tar wget hostname sysvinit-tools util-linux       socat tree findutils lsof bind-utils       git tar bsdtar       " &&     yum install -y $INSTALL_PKGS &&     rpm -V $INSTALL_PKGS &&     yum clean all' failed with exit code 1

This isn't a hard blocker for us, but does prevent us from quickly switching our previous RHEL7 Dockerfiles to UBI7-minimal/RHEL7-minimal base images.  Is this user error or something incorrect in microdnf]?

UBI image:

url=https://access.redhat.com/containers/#/registry.access.redhat.com/ubi7-minimal/images/7.6-24

Comment 1 Scott McCarty 2019-02-18 20:41:16 UTC
I think this is a duplicate of: https://bugzilla.redhat.com/show_bug.cgi?id=1665251

Comment 2 Josh Boyer 2019-02-18 21:22:51 UTC
It's the same root cause as bug 1665251 anyway.  We remove some of the binaries that are packaged in the container kickstart files:

#some random not-that-useful binaries
rm -f /usr/bin/oldfind
rm -f /usr/bin/pinky
rm -f /usr/bin/script
#https://bugzilla.redhat.com/show_bug.cgi?id=1611117
rm -f /usr/bin/tzselect

This isn't a bug in microdnf or rpm though.  We can either not do that in the image creation, or we can fix it by repackaging /usr/bin/oldfind in findutils (and similar bugs for the other binaries).  I'm moving this to the minimal image component until we sort out what, if anything, needs to be done.

Comment 7 RHEL Program Management 2021-03-15 07:33:22 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.