Bug 1868967 - sssd-ad installation fails on RHV-H 4.4 due to missing libsmbclient from samba package in rhvh-4-for-rhel-8-x86_64-rpms channel
Summary: sssd-ad installation fails on RHV-H 4.4 due to missing libsmbclient from samb...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: distribution
Version: 4.4.1
Hardware: All
OS: Linux
high
high
Target Milestone: ovirt-4.4.4
: 4.4.4
Assignee: Sandro Bonazzola
QA Contact: shiyi lei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-14 17:22 UTC by Ulhas Surse
Modified: 2021-02-03 16:13 UTC (History)
16 users (show)

Fixed In Version: samba-4.12.3-12.el8.3
Doc Type: Bug Fix
Doc Text:
Previously, the Red Hat Virtualization Host (RHV-H) repository (rhvh-4-for-rhel-8-x86_64-rpms) did not include the libsmbclient package, which is a dependency for the sssd-ad package. Consequently, the sssd-ad package failed to install. With this update, the libsmbclient is now in the RHV-H repository, and sssd-ad now installs on RHV-H.
Clone Of:
Environment:
Last Closed: 2021-02-03 16:13:15 UTC
oVirt Team: Node
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 5536131 0 None None None 2020-11-03 10:29:18 UTC
Red Hat Product Errata RHSA-2021:0401 0 None None None 2021-02-03 16:13:51 UTC

Description Ulhas Surse 2020-08-14 17:22:31 UTC
Description of problem:
While installing sssd on RHVH 4.4, it is failing with error:

~~~
# yum install sssd sssd-ad
Updating Subscription Management repositories.
Last metadata expiration check: 22:05:42 ago on Fri 14 Aug 2020 12:15:27 AM IST.
Error: 
 Problem 1: conflicting requests
  - nothing provides libsmbclient.so.0()(64bit) needed by sssd-ad-2.2.3-20.el8.x86_64
  - nothing provides libsmbclient.so.0(SMBCLIENT_0.1.0)(64bit) needed by sssd-ad-2.2.3-20.el8.x86_64
 Problem 2: package sssd-2.2.3-20.el8.x86_64 requires sssd-ad = 2.2.3-20.el8, but none of the providers can be installed
  - conflicting requests
  - nothing provides libsmbclient.so.0()(64bit) needed by sssd-ad-2.2.3-20.el8.x86_64
  - nothing provides libsmbclient.so.0(SMBCLIENT_0.1.0)(64bit) needed by sssd-ad-2.2.3-20.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
~~~

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

~~~
# cat /etc/os-release 
NAME="Red Hat Enterprise Linux"
VERSION="8.2"
VERSION_ID="8.2"
PLATFORM_ID="platform:el8"
ID="rhel"
ID_LIKE="fedora"
VARIANT="Red Hat Virtualization Host"
VARIANT_ID="ovirt-node"
PRETTY_NAME="Red Hat Virtualization Host 4.4.1 (el8.2)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8.2:GA:hypervisor"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"

# FIXME
REDHAT_BUGZILLA_PRODUCT="Red Hat Virtualization"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.2
REDHAT_SUPPORT_PRODUCT="Red Hat Virtualization"
REDHAT_SUPPORT_PRODUCT_VERSION=8.2
~~~

- Subscription is correct:

~~~
#  yum repolist
Updating Subscription Management repositories.
repo id                                                                                                     repo name
rhvh-4-for-rhel-8-x86_64-rpms                                                                               Red Hat Virtualization Host for RHEL 8 x86_64 (RPMs)
~~~

How reproducible:
Always

Steps to Reproduce:
1. Install fresh RHVH 4.4 from ISO
2. Subscribe to rhvh repo 
3. Install sssd package

  # yum install sssd sssd-ad

Actual results:
Failure in the installation of packages. 

Expected results:
The packages should be installed

Additional info:
sssd was included in the rhvh repository but looks like missing deps. 

  [RFE] Add the LDAP and Kerberos PAM Modules to RHVH
  https://bugzilla.redhat.com/show_bug.cgi?id=1745619

Comment 3 Sandro Bonazzola 2020-08-26 07:37:21 UTC
We need to add libsmbclient to RHV-H channel.

Comment 4 shiyi lei 2020-09-29 08:46:00 UTC
QE found a similar issue with latest rhvh 4.4.2.

Test Version:
rhvh-4.4.2.1-0.20200917.0

Test step:
1. Install rhvh-4.4.2.1-0.20200917.0
2. Subscribe to rhvh repo: rhvh-4-for-rhel-8-x86_64-rpms
3. Install sssd package

Test result:
[root@lenovo-sr630-09 ~]# yum install sssd
Updating Subscription Management repositories.
Last metadata expiration check: 0:00:07 ago on Tue 29 Sep 2020 04:41:28 AM UTC.
Error: 
 Problem: package sssd-2.3.0-9.el8.x86_64 requires sssd-ad = 2.3.0-9.el8, but none of the providers can be installed
  - cannot install the best candidate for the job
  - nothing provides libndr.so.1()(64bit) needed by sssd-ad-2.3.0-9.el8.x86_64
  - nothing provides libndr.so.1(NDR_0.0.1)(64bit) needed by sssd-ad-2.3.0-9.el8.x86_64
  - nothing provides libsmbclient.so.0()(64bit) needed by sssd-ad-2.3.0-9.el8.x86_64
  - nothing provides libsmbclient.so.0(SMBCLIENT_0.1.0)(64bit) needed by sssd-ad-2.3.0-9.el8.x86_64
  - nothing provides libndr.so.1(NDR_0.0.6)(64bit) needed by sssd-ad-2.3.0-9.el8.x86_64
  - nothing provides libndr.so.1(NDR_1.0.0)(64bit) needed by sssd-ad-2.3.0-9.el8.x86_64
  - nothing provides samba-client-libs >= 4.12.3-12.el8.3 needed by sssd-ad-2.3.0-9.el8.x86_64

Comment 7 Sandro Bonazzola 2020-10-21 09:08:38 UTC
Moving back to assigned, seems like we'll need more deps.

Comment 9 Sandro Bonazzola 2020-12-03 14:55:41 UTC
Minimum install set:
- libsmbclient-4.12.3-12.el8.3.x86_64

sssd-libwbclient-devel is also included in the channel with wrong version: 2.2.3-20.el8.1
while we have sssd-libwbclient.x86_64 2.3.0-9.el8

Comment 19 errata-xmlrpc 2021-02-03 16:13:15 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 (Important: Red Hat Virtualization Host security bug fix and enhancement update [ovirt-4.4.4]), 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://access.redhat.com/errata/RHSA-2021:0401


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