Bug 1589339

Summary: SELinux prevents p11_child from write permissions
Product: [Fedora] Fedora Reporter: Orion Poplawski <orion>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 28CC: dwalsh, lvrabec, mgrepl, plautrba, pmoore
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: selinux-policy-3.14.1-36.fc28 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-29 03:22:37 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:

Description Orion Poplawski 2018-06-08 18:04:22 UTC
Description of problem:

type=AVC msg=audit(1528412042.933:535): avc:  denied  { write } for  pid=5718 comm="p11_child" name="cert9.db" dev="dm-1" ino=7733803 scontext=system_u:system_r:sssd_t:s0 tcontext=system_u:object_r:cert_t:s0 tclass=file permissive=0
type=AVC msg=audit(1528412042.934:536): avc:  denied  { write } for  pid=5718 comm="p11_child" name="key4.db" dev="dm-1" ino=7733805 scontext=system_u:system_r:sssd_t:s0 tcontext=system_u:object_r:cert_t:s0 tclass=file permissive=0

Version-Release number of selected component (if applicable):
selinux-policy-3.14.1-30.fc28.noarch
sssd-1.16.1-9.fc28.x86_64

/var/log/sssd/p11_child.log has:

(Thu Jun  7 15:54:02 2018) [[sssd[p11_child[5718]]]] [do_work] (0x0040): No removable slots found.
(Thu Jun  7 15:54:02 2018) [[sssd[p11_child[5718]]]] [main] (0x0040): do_work failed.
(Thu Jun  7 15:54:02 2018) [[sssd[p11_child[5718]]]] [main] (0x0020): p11_child failed!

not sure if they are related.  Not aware of any problems that may be a result of this.

Comment 1 Fedora Update System 2018-07-25 22:28:12 UTC
selinux-policy-3.14.1-36.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-1050fb248b

Comment 2 Fedora Update System 2018-07-26 16:30:40 UTC
selinux-policy-3.14.1-36.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-1050fb248b

Comment 3 Fedora Update System 2018-07-29 03:22:37 UTC
selinux-policy-3.14.1-36.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.