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 2084179 - dnf install podman fails "nothing provides libsubid.so.3"
Summary: dnf install podman fails "nothing provides libsubid.so.3"
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: distribution
Version: 8.6
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: ---
Assignee: Josh Boyer
QA Contact: Release Test Team
URL:
Whiteboard:
: 2085079 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-11 15:21 UTC by samsalisbury
Modified: 2022-05-13 12:48 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-13 11:51:27 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-121833 0 None None None 2022-05-12 11:11:22 UTC

Description samsalisbury 2022-05-11 15:21:02 UTC
Description of problem:
Unable to `dnf install podman`

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


How reproducible:
Every time.


Steps to Reproduce:
1. run `dnf install podman`

Actual results:
```
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Last metadata expiration check: 0:30:21 ago on Wed May 11 14:49:07 2022.
Error: 
 Problem: conflicting requests
  - nothing provides libsubid.so.3()(64bit) needed by podman-2:4.0.2-6.module+el8.6.0+14877+f643d2d6.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
```

Expected results:
Podman to be installed.

Additional info:

Comment 1 Marek Blaha 2022-05-11 16:07:03 UTC
According to the podman package version I guess this is not Fedora but RHEL bug.
On RHEL required `libsubid.so.3()(64bit)` library is provided by shadow-utils-subid from rhel-8-for-x86_64-baseos-rpms repo:

# dnf provides 'libsubid.so.3()(64bit)'
Updating Subscription Management repositories.
Last metadata expiration check: 0:00:58 ago on Wed May 11 12:00:57 2022.
shadow-utils-subid-2:4.6-16.el8.x86_64 : A library to manage subordinate uid and gid ranges
Repo        : rhel-8-for-x86_64-baseos-rpms
Matched from:
Provide    : libsubid.so.3()(64bit)

So please can you check that rhel-8-for-x86_64-baseos-rpms is available and enabled?
# dnf repoinfo rhel-8-for-x86_64-baseos-rpms
Updating Subscription Management repositories.
Last metadata expiration check: 0:03:40 ago on Wed May 11 12:00:57 2022.
Repo-id            : rhel-8-for-x86_64-baseos-rpms
Repo-name          : Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)
Repo-status        : enabled
Repo-revision      : 1652216696
Repo-updated       : Tue May 10 17:04:52 2022
Repo-pkgs          : 10861
Repo-available-pkgs: 10858
Repo-size          : 18 G
Repo-baseurl       : https://cdn.redhat.com/content/dist/rhel8/8/x86_64/baseos/os
Repo-expire        : 86400 second(s) (last: Wed May 11 12:00:56 2022)
Repo-filename      : /etc/yum.repos.d/redhat.repo
Total packages: 10861

Comment 2 samsalisbury 2022-05-12 10:03:01 UTC
This is happening from within the UBI base image: registry.access.redhat.com/ubi8/ubi:latest (same for tags :8.0 through :8.6).

It used to work fine without needing to specifically enable repoinfo rhel-8-for-x86_64-baseos-rpms, e.g.: https://github.com/redhat-openshift-ecosystem/openshift-preflight/runs/6373075551?check_suite_focus=true#step:7:166

However it's now stopped working, e.g.: https://github.com/redhat-openshift-ecosystem/openshift-preflight/runs/6393577883?check_suite_focus=true

Is there a better place to report this issue where it might get resolved quicker?

Many thanks for your help with this.

Comment 3 samsalisbury 2022-05-12 10:08:56 UTC
Here's a minimal repro using docker to invoke the image:

Command:
  docker run --rm registry.access.redhat.com/ubi8/ubi:8.6 dnf install podman 

Output:
  Updating Subscription Management repositories.
  Unable to read consumer identity

  This system is not registered with an entitlement server. You can use subscription-manager to register.

  Red Hat Universal Base Image 8 (RPMs) - BaseOS  1.5 MB/s | 780 kB     00:00    
  Red Hat Universal Base Image 8 (RPMs) - AppStre 3.2 MB/s | 2.9 MB     00:00    
  Red Hat Universal Base Image 8 (RPMs) - CodeRea  38 kB/s |  17 kB     00:00    
  (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
  Error: 
   Problem: conflicting requests
    - nothing provides libsubid.so.3()(64bit) needed by podman-2:4.0.2-6.module+el8.6.0+14877+f643d2d6.x86_64

Comment 4 Marek Blaha 2022-05-12 10:59:41 UTC
Oh, thanks for the reproducer. It looks like RHEL8.6 UBI image repos do not contain all needed dependencies of podman.
I the bug should have been filed against RHEL product / ubi8-container component. So let me re-assign it for further investigation.

Comment 5 Josh Boyer 2022-05-12 11:26:55 UTC
Thank you for the report.  We are investigating.

Comment 7 Josh Boyer 2022-05-12 20:26:29 UTC
*** Bug 2085079 has been marked as a duplicate of this bug. ***

Comment 8 Josh Boyer 2022-05-13 11:51:27 UTC
This should now be resolved.  If you have further issues, please reopen this bug or file a new one.

[jwboyer@vader ~]$ podman run -it --rm ubi8 
[root@021038e824ce /]# yum --disablerepo=rhel* install podman
Updating Subscription Management repositories.
Unable to read consumer identity
Subscription Manager is operating in container mode.

This system is not registered with an entitlement server. You can use subscription-manager to register.

Red Hat Universal Base Image 8 (RPMs) - BaseOS  1.3 MB/s | 781 kB     00:00    
Red Hat Universal Base Image 8 (RPMs) - AppStre 4.3 MB/s | 2.9 MB     00:00    
Red Hat Universal Base Image 8 (RPMs) - CodeRea  38 kB/s |  17 kB     00:00    
Dependencies resolved.
================================================================================
 Package                     Arch   Version               Repository       Size
================================================================================
Installing:
 podman                      x86_64 2:4.0.2-6.module+el8.6.0+14877+f643d2d6
                                                          ubi-8-appstream  13 M
Installing dependencies:
 conmon                      x86_64 2:2.1.0-1.module+el8.6.0+14877+f643d2d6
                                                          ubi-8-appstream  55 k
 containernetworking-plugins x86_64 1:1.0.1-2.module+el8.6.0+14877+f643d2d6
                                                          ubi-8-appstream  18 M
 containers-common           x86_64 2:1-27.module+el8.6.0+14877+f643d2d6
                                                          ubi-8-appstream  95 k
 criu                        x86_64 3.15-3.module+el8.6.0+14877+f643d2d6
                                                          ubi-8-appstream 518 k
 fuse-common                 x86_64 3.3.0-15.el8          ubi-8-baseos     22 k
 fuse-overlayfs              x86_64 1.8.2-1.module+el8.6.0+14877+f643d2d6
                                                          ubi-8-appstream  73 k
 fuse3                       x86_64 3.3.0-15.el8          ubi-8-baseos     54 k
 fuse3-libs                  x86_64 3.3.0-15.el8          ubi-8-baseos     95 k
 iptables                    x86_64 1.8.4-22.el8          ubi-8-baseos    585 k
 iptables-libs               x86_64 1.8.4-22.el8          ubi-8-baseos    108 k
 jansson                     x86_64 2.14-1.el8            ubi-8-baseos     47 k
 kmod                        x86_64 25-19.el8             ubi-8-baseos    126 k
 libibverbs                  x86_64 37.2-1.el8            ubi-8-baseos    385 k
 libmnl                      x86_64 1.0.4-6.el8           ubi-8-baseos     30 k
 libnet                      x86_64 1.1.6-15.el8          ubi-8-appstream  67 k
 libnetfilter_conntrack      x86_64 1.0.6-5.el8           ubi-8-baseos     65 k
 libnfnetlink                x86_64 1.0.1-13.el8          ubi-8-baseos     33 k
 libnftnl                    x86_64 1.1.5-5.el8           ubi-8-baseos     83 k
 libpcap                     x86_64 14:1.9.1-5.el8        ubi-8-baseos    169 k
 libslirp                    x86_64 4.4.0-1.module+el8.6.0+14877+f643d2d6
                                                          ubi-8-appstream  70 k
 nftables                    x86_64 1:0.9.3-25.el8        ubi-8-baseos    324 k
 podman-catatonit            x86_64 2:4.0.2-6.module+el8.6.0+14877+f643d2d6
                                                          ubi-8-appstream 354 k
 protobuf-c                  x86_64 1.3.0-6.el8           ubi-8-appstream  37 k
 runc                        x86_64 1:1.0.3-2.module+el8.6.0+14877+f643d2d6
                                                          ubi-8-appstream 3.0 M
 shadow-utils-subid          x86_64 2:4.6-16.el8          ubi-8-baseos    112 k
 slirp4netns                 x86_64 1.1.8-2.module+el8.6.0+14877+f643d2d6
                                                          ubi-8-appstream  51 k
Enabling module streams:
 container-tools                    rhel8                                      

Transaction Summary
================================================================================
Install  27 Packages

Total download size: 38 M
Installed size: 129 M
Is this ok [y/N]:

Comment 9 samsalisbury 2022-05-13 12:48:45 UTC
Yes I can see this now working. I did not need to disable any repos as in your example, the following command just succeeded:

# docker run --rm registry.access.redhat.com/ubi8/ubi:8.6 dnf install -y podman

Are there any test cases that could prevent this sort of thing happening again in the future?

Many thanks for fixing this


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