View Issue Details

IDProjectCategoryView StatusLast Update
0015293CentOS-7selinux-policypublic2018-09-18 14:48
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0015293: SELinux is preventing systemd-machine from 'open' accesses on the file /proc/<pid>/cgroup.
DescriptionDescription of problem:
SELinux is preventing systemd-machine from 'open' accesses on the file /proc/<pid>/cgroup.

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

If you believe that systemd-machine should be allowed open access on the cgroup file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
allow this access for now by executing:
# ausearch -c 'systemd-machine' --raw | audit2allow -M my-systemdmachine
# semodule -i my-systemdmachine.pp

Additional Information:
Source Context system_u:system_r:systemd_machined_t:s0
Target Context system_u:system_r:svirt_t:s0:c496,c867
Target Objects /proc/<pid>/cgroup [ file ]
Source systemd-machine
Source Path systemd-machine
Port <Unknown>
Host (removed)
Source RPM Packages
Target RPM Packages
Policy RPM selinux-policy-3.13.1-192.el7_5.6.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name (removed)
Platform Linux (removed) 3.10.0-862.9.1.el7.x86_64 #1 SMP
                              Mon Jul 16 16:29:36 UTC 2018 x86_64 x86_64
Alert Count 1
First Seen 2018-08-21 08:55:49 PDT
Last Seen 2018-08-21 08:55:49 PDT
Local ID 3ed085a2-20a7-4b7e-9d48-d271da363a86

Raw Audit Messages
type=AVC msg=audit(1534866949.361:12017): avc: denied { open } for pid=5855 comm="systemd-machine" path="/proc/5844/cgroup" dev="proc" ino=42418 scontext=system_u:system_r:systemd_machined_t:s0 tcontext=system_u:system_r:svirt_t:s0:c496,c867 tclass=file

Hash: systemd-machine,systemd_machined_t,svirt_t,file,open

Version-Release number of selected component:
Additional Informationreporter: libreport-
hashmarkername: setroubleshoot
kernel: 3.10.0-862.11.6.el7.x86_64
reproducible: Not sure how to reproduce the problem
type: libreport
TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2018-09-18 14:48 hobbes129 New Issue