Bug 1467406 - SELinux is preventing boinc_client from 'open' accesses on the file /sys/fs/cgroup/cpuset/cpuset.cpus.
Summary: SELinux is preventing boinc_client from 'open' accesses on the file /sys/fs/c...
Keywords:
Status: CLOSED DUPLICATE of bug 1552436
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 26
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:b6db4c223139beded06ee8ef357...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-03 17:01 UTC by Jia Yuan Lo
Modified: 2018-03-07 12:36 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-07 12:36:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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 ***


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