Bug 1597462

Summary: SELinux is preventing (fprintd) from 'mounton' accesses on the file /run/systemd/unit-root/proc/kcore.
Product: [Fedora] Fedora Reporter: J <jman012345>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: dwalsh, lvrabec, mgrepl, plautrba, pmoore
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:4d467b4bc18a47a7603eec80a4d95dcf432bca96ddc3c6fdec4f7c41a5c71357;VARIANT_ID=workstation;
Fixed In Version: selinux-policy-3.14.2-34.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-12 02:59: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 J 2018-07-03 01:07:58 UTC
Description of problem:
This error message appears on boot and upon opening various applications in KDE.
SELinux is preventing (fprintd) from 'mounton' accesses on the file /run/systemd/unit-root/proc/kcore.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that (fprintd) should be allowed mounton access on the kcore file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# ausearch -c '(fprintd)' --raw | audit2allow -M my-fprintd
# semodule -X 300 -i my-fprintd.pp

Additional Information:
Source Context                system_u:system_r:init_t:s0
Target Context                system_u:object_r:proc_kcore_t:s0
Target Objects                /run/systemd/unit-root/proc/kcore [ file ]
Source                        (fprintd)
Source Path                   (fprintd)
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.2-26.fc29.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 4.18.0-0.rc2.git3.1.fc29.x86_64 #1
                              SMP Thu Jun 28 15:41:46 UTC 2018 x86_64 x86_64
Alert Count                   13
First Seen                    2018-06-30 01:37:46 EDT
Last Seen                     2018-07-02 21:04:45 EDT
Local ID                      e19f01c3-1d83-46cd-b853-c129fc75f2e1

Raw Audit Messages
type=AVC msg=audit(1530579885.397:375): avc:  denied  { mounton } for  pid=5683 comm="(coredump)" path="/run/systemd/unit-root/proc/kcore" dev="proc" ino=4026532030 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:proc_kcore_t:s0 tclass=file permissive=1


Hash: (fprintd),init_t,proc_kcore_t,file,mounton

Version-Release number of selected component:
selinux-policy-3.14.2-26.fc29.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.5
hashmarkername: setroubleshoot
kernel:         4.18.0-0.rc2.git3.1.fc29.x86_64
type:           libreport

Comment 1 Jan Kurik 2018-08-14 11:17:32 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle.
Changing version to '29'.

Comment 2 Fedora Update System 2018-09-11 12:53:12 UTC
selinux-policy-3.14.2-34.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-db240a1726

Comment 3 Fedora Update System 2018-09-12 02:59:41 UTC
selinux-policy-3.14.2-34.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.