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 1624351

Summary: SELinux is preventing gsd-smartcard from 'map' accesses on the file /etc/pki/ca-trust/source/README.
Product: Red Hat Enterprise Linux 7 Reporter: adam winberg <adam.winberg>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED ERRATA QA Contact: Milos Malik <mmalik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.6CC: dwalsh, extras-qa, lruzicka, lvrabec, mgrepl, mmalik, plautrba, ssekidde, vmojzis
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: abrt_hash:dfc358b671c9c4d4c81171aa6ef3bbf0ab09f55dd3ddcc99f95de4b6e4fa3867;VARIANT_ID=workstation;
Fixed In Version: selinux-policy-3.13.1-223.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1553761 Environment:
Last Closed: 2018-10-30 10:09:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description adam winberg 2018-08-31 10:07:54 UTC
+++ This bug was initially created as a clone of Bug #1553761 +++

Description of problem:
This appeared after an update from RHEL7.5 to RHEL7.6 beta.

SELinux is preventing gsd-smartcard from 'map' accesses on the file /etc/pki/ca-trust/source/*

Audit log:
type=AVC msg=audit(1535702246.253:422): avc:  denied  { map } for  pid=14291 comm="gdm-session-wor" path="/etc/pki/ca-trust/source/anchors/SMHIIssuingEnterpriseCA-G2.pem" dev="nvme0n1p2" ino=16983421 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:cert_t:s0 tclass=file permissive=0


SELinux is preventing /usr/libexec/gsd-smartcard from map access on the file /usr/share/pki/ca-trust-source/*

Audit log:
type=AVC msg=audit(1535702246.254:424): avc:  denied  { map } for  pid=14291 comm="gdm-session-wor" path="/usr/share/pki/ca-trust-source/ca-bundle.trust.p11-kit" dev="nvme0n1p2" ino=16990204 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:cert_t:s0 tclass=file permissive=0


SELinux is preventing /usr/bin/login from write access on the directory /etc/pki/ca-trust/source

Audit log:
type=AVC msg=audit(1535702024.162:281): avc:  denied  { write } for  pid=12330 comm="login" name="source" dev="nvme0n1p2" ino=79836 scontext=system_u:system_r:local_login_t:s0-s0:c0.c1023 tcontext=system_u:object_r:cert_t:s0 tclass=dir permissive=0


SELinux is preventing /usr/bin/login from map access on the file /etc/pki/ca-trust/source/*

Audit log:
type=AVC msg=audit(1535702024.164:293): avc:  denied  { map } for  pid=12330 comm="login" path="/etc/pki/ca-trust/source/anchors/SMHIIssuingEnterpriseCA-G2.pem" dev="nvme0n1p2" ino=16983421 scontext=system_u:system_r:local_login_t:s0-s0:c0.c1023 tcontext=system_u:object_r:cert_t:s0 tclass=file permissive=0

Comment 5 errata-xmlrpc 2018-10-30 10:09:41 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-2018:3111