View Issue Details

IDProjectCategoryView StatusLast Update
0015838CentOS-7selinux-policypublic2019-02-18 04:10
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0015838: SELinux is preventing /usr/bin/ps from using the 'sys_ptrace' capabilities.
DescriptionDescription of problem:
SELinux is preventing /usr/bin/ps from using the 'sys_ptrace' capabilities.

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

If you believe that ps should have the sys_ptrace capability 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 'ps' --raw | audit2allow -M my-ps
# semodule -i my-ps.pp

Additional Information:
Source Context system_u:system_r:psad_t:s0
Target Context system_u:system_r:psad_t:s0
Target Objects Unknown [ capability ]
Source ps
Source Path /usr/bin/ps
Port <Unknown>
Host (removed)
Source RPM Packages procps-ng-3.3.10-23.el7.x86_64
Target RPM Packages
Policy RPM selinux-policy-3.13.1-229.el7_6.9.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name (removed)
Platform Linux (removed) 3.10.0-957.5.1.el7.x86_64 #1 SMP
                              Fri Feb 1 14:54:57 UTC 2019 x86_64 x86_64
Alert Count 12
First Seen 2019-02-17 01:54:19 EST
Last Seen 2019-02-17 23:03:02 EST
Local ID eaa9050c-8f4f-498e-8e74-dc4f06148c75

Raw Audit Messages
type=AVC msg=audit(1550462582.775:184): avc: denied { sys_ptrace } for pid=9243 comm="ps" capability=19 scontext=system_u:system_r:psad_t:s0 tcontext=system_u:system_r:psad_t:s0 tclass=capability permissive=0

type=SYSCALL msg=audit(1550462582.775:184): arch=x86_64 syscall=readlink success=no exit=EACCES a0=7ffd7c7201f0 a1=7f72f62b5420 a2=7f a3=1 items=0 ppid=9240 pid=9243 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=ps exe=/usr/bin/ps subj=system_u:system_r:psad_t:s0 key=(null)

Hash: ps,psad_t,psad_t,capability,sys_ptrace

Version-Release number of selected component:
Additional Informationreporter: libreport-
hashmarkername: setroubleshoot
kernel: 3.10.0-957.5.1.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
2019-02-18 04:10 kablen123 New Issue