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 2131792

Summary: authselect: Add with-libvirt feature
Product: Red Hat Enterprise Linux 9 Reporter: Andrea Bolognani <abologna>
Component: authselectAssignee: Pavel Březina <pbrezina>
Status: CLOSED NOTABUG QA Contact: sssd-qe
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.1CC: aboscatt
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: ---Flags: pm-rhel: mirror+
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: 2022-11-22 17:18:03 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:
Bug Depends On: 2142805    
Bug Blocks:    

Description Andrea Bolognani 2022-10-03 16:09:46 UTC
The feature has been implemented upstream in commit

  commit 56f5e92e3d595597fe8568d9198333f9b988c88f
  Author: Andrea Bolognani <abologna>
  Date:   Fri Aug 5 17:09:27 2022 +0200

    profiles: Add with-libvirt feature
    
    The libvirt NSS plugins can be used to conveniently connect to
    VMs running on the system.
    
    See https://libvirt.org/nss.html for additional information.
    
    Signed-off-by: Andrea Bolognani <abologna>

  1.4.0-4-g56f5e92

and it would be great to have it in RHEL 9 as well.

Please consider backporting it :)

Comment 2 Pavel Březina 2022-11-22 17:18:03 UTC
Actually sssd and winbind profiles do not handle hosts database in rhel, so there is nothing to backport. Closing as notabug.

Comment 3 Andrea Bolognani 2022-11-23 15:39:52 UTC
(In reply to Pavel Březina from comment #2)
> Actually sssd and winbind profiles do not handle hosts database in rhel, so
> there is nothing to backport. Closing as notabug.

So the recommended way to enable the libvirt NSS module in RHEL 9
would still be to go through user-nsswitch.conf, as was the case for
Fedora 35, right? [1] seems to confirm this.

If that's the case, I agree that nothing needs to happen on the RHEL
side.


[1] https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html-single/configuring_authentication_and_authorization_in_rhel/index#modifying-a-ready-made-authselect-profile_configuring-user-authentication-using-authselect

Comment 4 Pavel Březina 2022-11-23 21:39:34 UTC
Yes, this is correct.