View Issue Details

IDProjectCategoryView StatusLast Update
0016017CentOS-7selinux-policypublic2019-04-17 13:18
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0016017: SELinux is preventing rsession from 'sys_ptrace' accesses on the cap_userns Unknown.
DescriptionDescription of problem:
SELinux is preventing rsession from 'sys_ptrace' accesses on the cap_userns Unknown.

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

If you believe that rsession should be allowed sys_ptrace access on the Unknown cap_userns 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 'rsession' --raw | audit2allow -M my-rsession
# semodule -i my-rsession.pp

Additional Information:
Source Context system_u:system_r:init_t:s0
Target Context system_u:system_r:init_t:s0
Target Objects Unknown [ cap_userns ]
Source rsession
Source Path rsession
Port <Unknown>
Host (removed)
Source RPM Packages
Target RPM Packages
Policy RPM selinux-policy-3.13.1-192.el7_5.4.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name (removed)
Platform Linux (removed) 5.0.0-2.el7.elrepo.x86_64 #1 SMP
                              Tue Mar 5 16:33:41 EST 2019 x86_64 x86_64
Alert Count 123
First Seen 2019-04-17 18:43:43 IST
Last Seen 2019-04-17 18:44:58 IST
Local ID 9e555a9e-d388-408e-93ea-c2dc7c523bbd

Raw Audit Messages
type=AVC msg=audit(1555506898.695:401): avc: denied { sys_ptrace } for pid=3378 comm="rsession" capability=19 scontext=system_u:system_r:init_t:s0 tcontext=system_u:system_r:init_t:s0 tclass=cap_userns permissive=0

Hash: rsession,init_t,init_t,cap_userns,sys_ptrace

Version-Release number of selected component:
Additional Informationreporter: libreport-
hashmarkername: setroubleshoot
kernel: 5.0.0-2.el7.elrepo.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-04-17 13:18 ddarsh2018 New Issue