View Issue Details

IDProjectCategoryView StatusLast Update
0017570CentOS-7selinux-policypublic2020-07-07 12:38
Reportertdoczkal 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0017570: SELinux is preventing /var/lib/pcp/pmdas/kvm/pmdakvm from 'read' accesses on the directory kvm.
DescriptionDescription of problem:
First login on CentOS 7 GNOME Classic Desktop.
SELinux is preventing /var/lib/pcp/pmdas/kvm/pmdakvm from 'read' accesses on the directory kvm.

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

If you believe that pmdakvm should be allowed read access on the kvm directory 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 'pmdakvm' --raw | audit2allow -M my-pmdakvm
# semodule -i my-pmdakvm.pp

Additional Information:
Source Context system_u:system_r:pcp_pmcd_t:s0
Target Context system_u:object_r:debugfs_t:s0
Target Objects kvm [ dir ]
Source pmdakvm
Source Path /var/lib/pcp/pmdas/kvm/pmdakvm
Port <Unknown>
Host (removed)
Source RPM Packages pcp-4.3.2-6.el7.x86_64
Target RPM Packages
Policy RPM selinux-policy-3.13.1-266.el7_8.1.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Permissive
Host Name (removed)
Platform Linux (removed) 3.10.0-1127.el7.x86_64 #1 SMP Tue
                              Mar 31 23:36:51 UTC 2020 x86_64 x86_64
Alert Count 4973
First Seen 2020-07-05 14:05:19 BST
Last Seen 2020-07-07 13:37:47 BST
Local ID d7509529-884b-4b43-b99f-1bc7769a5d66

Raw Audit Messages
type=AVC msg=audit(1594125467.289:95870): avc: denied { read } for pid=1781 comm="pmdakvm" name="kvm" dev="debugfs" ino=10196 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:debugfs_t:s0 tclass=dir permissive=1


type=SYSCALL msg=audit(1594125467.289:95870): arch=x86_64 syscall=openat success=yes exit=125 a0=ffffffffffffff9c a1=7fffd0008090 a2=90800 a3=0 items=0 ppid=1701 pid=1781 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=pmdakvm exe=/var/lib/pcp/pmdas/kvm/pmdakvm subj=system_u:system_r:pcp_pmcd_t:s0 key=(null)

Hash: pmdakvm,pcp_pmcd_t,debugfs_t,dir,read

Version-Release number of selected component:
selinux-policy-3.13.1-266.el7_8.1.noarch
Additional Informationreporter: libreport-2.1.11.1
hashmarkername: setroubleshoot
kernel: 3.10.0-1127.el7.x86_64
reproducible: Not sure how to reproduce the problem
type: libreport
TagsNo tags attached.
abrt_hash58a90b53fb2fede427b60e30a64b17cd5dc9c52b2db30385b4ef5c7557429106
URL

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-07-07 12:38 tdoczkal New Issue