Bug 1737555 - pam_pkcs11 error trying to login to the graphical console of the hosted-engine VM
Summary: pam_pkcs11 error trying to login to the graphical console of the hosted-engin...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: rhvm-appliance
Version: 4.3.5
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ovirt-4.3.6
: 4.3.6
Assignee: Yuval Turgeman
QA Contact: Vojtech Vagner
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-05 16:07 UTC by Simone Tiraboschi
Modified: 2019-12-10 19:38 UTC (History)
6 users (show)

Fixed In Version: rhvm-appliance-4.3-20190828.0.el7
Doc Type: If docs needed, set a value
Doc Text:
When trying to log in to a Self-Hosted Engine virtual machine using a VNC or SPICE console, an error regarding smart card authorization is displayed. With this release, the log in process completes without errors.
Clone Of:
Environment:
Last Closed: 2019-10-14 09:00:48 UTC
oVirt Team: Node
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
issue (31.21 KB, image/png)
2019-08-05 16:13 UTC, Simone Tiraboschi
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 4395551 0 None None None 2019-09-05 15:13:59 UTC
Red Hat Product Errata RHBA-2019:3035 0 None None None 2019-10-14 09:00:50 UTC
oVirt gerrit 102469 0 master MERGED build: require coolkey and opensc for pkcs11 2021-02-17 04:57:46 UTC
oVirt gerrit 102474 0 master MERGED spec: require coolkey and opensc for pkcs11 2021-02-17 04:57:46 UTC
oVirt gerrit 102477 0 ovirt-4.3 MERGED spec: require coolkey and opensc for pkcs11 2021-02-17 04:57:46 UTC
oVirt gerrit 102478 0 ovirt-4.3 MERGED build: require coolkey and opensc for pkcs11 2021-02-17 04:57:45 UTC

Description Simone Tiraboschi 2019-08-05 16:07:59 UTC
Description of problem:
Trying to login to the HE VM graphical console, spice or VNC, the user receives a:
  ERROR:pam_pkcs11,c:318 load_pkcs11_module() failed:
as soon as he type something at the login prompt.

This doesn't happen connecting over SSH to the same VM.

This happens in FIPS but also not in FIPS mode.

Version-Release number of selected component (if applicable):
4.3 June 05 ova appliance

How reproducible:
?

Steps to Reproduce:
1. deploy HE
2. try to login to the engine VM via VNC or SPICE console
3.

Actual results:
  ERROR:pam_pkcs11,c:318 load_pkcs11_module() failed:

Expected results:
No PAM errors

Additional info:

Comment 2 Simone Tiraboschi 2019-08-05 16:13:05 UTC
Created attachment 1600657 [details]
issue

Comment 3 Simone Tiraboschi 2019-08-05 16:15:43 UTC
Additional info:
it shows a red error line but with the right login and the right password the user can still successfully login.

pam_pkcs11.x86_64 0.6.2-30.el7 is installed on the engine VM.

Comment 4 Simone Tiraboschi 2019-08-05 16:20:07 UTC
On journalctl:

ago 05 18:18:58 enginevm.localdomain login[14587]: pam_pkcs11(login:auth): load_pkcs11_module() failed:
ago 05 18:19:02 enginevm.localdomain systemd-logind[1436]: New session 87 of user root.
ago 05 18:19:02 enginevm.localdomain systemd[1]: Started Session 87 of user root.
ago 05 18:19:02 enginevm.localdomain login[14587]: pam_unix(login:session): session opened for user root by LOGIN(uid=0)
ago 05 18:19:02 enginevm.localdomain login[14587]: ROOT LOGIN ON tty1

Comment 6 Vojtech Vagner 2019-09-11 09:50:26 UTC
Tried it on an HE with ovirt-engine-4.3.6.5-0.1 and was able to log in succesfully without any PAM error, therefore verified.

Comment 11 errata-xmlrpc 2019-10-14 09:00:48 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, 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/RHBA-2019:3035


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