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 2009328 - IPA: usr/lib/api/apiutil.c Could not open /run/lock/opencryptoki/LCK..APIlock [rhel-8.5.0.z]
Summary: IPA: usr/lib/api/apiutil.c Could not open /run/lock/opencryptoki/LCK..APIlock...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: opencryptoki
Version: 8.4
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: rc
: 8.5
Assignee: Than Ngo
QA Contact: Karel Srot
URL:
Whiteboard:
Depends On: 1991840
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-30 11:29 UTC by RHEL Program Management Team
Modified: 2021-12-21 09:41 UTC (History)
7 users (show)

Fixed In Version: opencryptoki-3.16.0-7.el8_5
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1991840
Environment:
Last Closed: 2021-12-21 09:41:30 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-98575 0 None None None 2021-09-30 11:30:07 UTC
Red Hat Product Errata RHBA-2021:5224 0 None None None 2021-12-21 09:41:32 UTC

Comment 6 Than Ngo 2021-10-18 12:28:22 UTC
it's fixed in  opencryptoki-3.16.0-7.el8_5

Comment 12 Karel Srot 2021-11-10 12:02:32 UTC
On s390x I have noticed new AVC denial in one of the tests. I have reported it as 
https://bugzilla.redhat.com/show_bug.cgi?id=2021887

type=PROCTITLE msg=audit(11/10/2021 06:08:52.730:525) : proctitle=/usr/sbin/pkcsslotd 
type=SOCKETCALL msg=audit(11/10/2021 06:08:52.730:525) : nargs=5 a0=0x9 a1=0x1 a2=0x1a a3=0x3fff6b7dfc0 a4=10 
type=SYSCALL msg=audit(11/10/2021 06:08:52.730:525) : arch=s390x syscall=socketcall(setsockopt) success=yes exit=0 a0=setsockopt a1=0x3fff6b7def0 a2=0x1a a3=0x3fff6b7dfc0 items=0 ppid=1 pid=48791 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) ses=unset comm=pkcsslotd exe=/usr/sbin/pkcsslotd subj=system_u:system_r:pkcs_slotd_t:s0 key=(null) 
type=AVC msg=audit(11/10/2021 06:08:52.730:525) : avc:  denied  { sys_admin } for  pid=48791 comm=pkcsslotd capability=sys_admin  scontext=system_u:system_r:pkcs_slotd_t:s0 tcontext=system_u:system_r:pkcs_slotd_t:s0 tclass=capability permissive=0 
----

Than,
would you have any idea why the new capability is being present there? I think it may be due to package rebuild using packages from RHEL-8.5.

Comment 13 Than Ngo 2021-11-11 07:43:47 UTC
(In reply to Karel Srot from comment #12)
> On s390x I have noticed new AVC denial in one of the tests. I have reported
> it as 
> https://bugzilla.redhat.com/show_bug.cgi?id=2021887
> 
> type=PROCTITLE msg=audit(11/10/2021 06:08:52.730:525) :
> proctitle=/usr/sbin/pkcsslotd 
> type=SOCKETCALL msg=audit(11/10/2021 06:08:52.730:525) : nargs=5 a0=0x9
> a1=0x1 a2=0x1a a3=0x3fff6b7dfc0 a4=10 
> type=SYSCALL msg=audit(11/10/2021 06:08:52.730:525) : arch=s390x
> syscall=socketcall(setsockopt) success=yes exit=0 a0=setsockopt
> a1=0x3fff6b7def0 a2=0x1a a3=0x3fff6b7dfc0 items=0 ppid=1 pid=48791
> auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=root
> sgid=root fsgid=root tty=(none) ses=unset comm=pkcsslotd
> exe=/usr/sbin/pkcsslotd subj=system_u:system_r:pkcs_slotd_t:s0 key=(null) 
> type=AVC msg=audit(11/10/2021 06:08:52.730:525) : avc:  denied  { sys_admin
> } for  pid=48791 comm=pkcsslotd capability=sys_admin 
> scontext=system_u:system_r:pkcs_slotd_t:s0
> tcontext=system_u:system_r:pkcs_slotd_t:s0 tclass=capability permissive=0 
> ----
> 
> Than
> would you have any idea why the new capability is being present there? I
> think it may be due to package rebuild using packages from RHEL-8.5.

there was no change in the code with the 3.16.0-7 build, only the file opencryptoki.module was dropped. I don't think this change causes such problem. It should be due to package rebuild using packages from RHEL-8.5.

Comment 17 errata-xmlrpc 2021-12-21 09:41:30 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 (opencryptoki bug fix and enhancement update), 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-2021:5224


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