Bug 1467406

Summary: SELinux is preventing boinc_client from 'open' accesses on the file /sys/fs/cgroup/cpuset/cpuset.cpus.
Product: [Fedora] Fedora Reporter: Jia Yuan Lo <jylo06g>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: dominick.grift, dwalsh, garrett.figueroa, lvrabec, mgrepl, plautrba, pmoore, ssekidde
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:b6db4c223139beded06ee8ef35729df2ec32835ee6ee2d533d06f8af5a87f70c;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-07 12:36:00 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 Jia Yuan Lo 2017-07-03 17:01:26 UTC
Description of problem:
SELinux is preventing boinc_client from 'open' accesses on the file /sys/fs/cgroup/cpuset/cpuset.cpus.

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

If you believe that boinc_client should be allowed open access on the cpuset.cpus 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 'boinc_client' --raw | audit2allow -M my-boincclient
# semodule -X 300 -i my-boincclient.pp

Additional Information:
Source Context                system_u:system_r:boinc_t:s0
Target Context                system_u:object_r:cgroup_t:s0
Target Objects                /sys/fs/cgroup/cpuset/cpuset.cpus [ file ]
Source                        boinc_client
Source Path                   boinc_client
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-259.fc26.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 4.11.8-300.fc26.x86_64 #1 SMP Thu
                              Jun 29 20:09:48 UTC 2017 x86_64 x86_64
Alert Count                   2
First Seen                    2017-07-03 15:26:06 +08
Last Seen                     2017-07-04 00:44:03 +08
Local ID                      dc940095-9e05-4fa3-afe7-63c79a622f76

Raw Audit Messages
type=AVC msg=audit(1499100243.404:386): avc:  denied  { open } for  pid=14501 comm="boinc_client" path="/sys/fs/cgroup/cpuset/cpuset.cpus" dev="cgroup" ino=8 scontext=system_u:system_r:boinc_t:s0 tcontext=system_u:object_r:cgroup_t:s0 tclass=file permissive=1


Hash: boinc_client,boinc_t,cgroup_t,file,open

Version-Release number of selected component:
selinux-policy-3.13.1-259.fc26.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.1
hashmarkername: setroubleshoot
kernel:         4.11.8-300.fc26.x86_64
type:           libreport

Potential duplicate: bug 1425955

Comment 1 Lukas Vrabec 2018-03-07 12:36:00 UTC

*** This bug has been marked as a duplicate of bug 1552436 ***