View Issue Details

IDProjectCategoryView StatusLast Update
0016254CentOS-7selinux-policypublic2019-07-09 18:26
ReporterElvis Paez 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0016254: SELinux is preventing /usr/sbin/tcpdump from 'ioctl' accesses on the file /home/grid/app/grid/diagsnap/nodo1/evt_1_20190709-1...
DescriptionDescription of problem:
was installing the oracle grid, when it restarted without finishing the installation
SELinux is preventing /usr/sbin/tcpdump from 'ioctl' accesses on the file /home/grid/app/grid/diagsnap/nodo1/evt_1_20190709-141720/tcpdump_enp0s8.trc.

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

If you believe that tcpdump should be allowed ioctl access on the tcpdump_enp0s8.trc 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 'tcpdump' --raw | audit2allow -M my-tcpdump
# semodule -i my-tcpdump.pp

Additional Information:
Source Context system_u:system_r:netutils_t:s0
Target Context system_u:object_r:user_home_t:s0
Target Objects /home/grid/app/grid/diagsnap/nodo1/evt_1_20190709-
                              141720/tcpdump_enp0s8.trc [ file ]
Source tcpdump
Source Path /usr/sbin/tcpdump
Port <Unknown>
Host (removed)
Source RPM Packages tcpdump-4.9.2-3.el7.x86_64
Target RPM Packages
Policy RPM selinux-policy-3.13.1-229.el7_6.12.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name (removed)
Platform Linux (removed) 3.10.0-957.21.3.el7.x86_64 #1 SMP
                              Tue Jun 18 16:35:19 UTC 2019 x86_64 x86_64
Alert Count 851
First Seen 2019-07-09 11:29:51 EDT
Last Seen 2019-07-09 14:17:21 EDT
Local ID 3f4aaf9d-4e0e-49eb-895c-eb1e41c33373

Raw Audit Messages
type=AVC msg=audit(1562696241.42:3547): avc: denied { ioctl } for pid=1605 comm="tcpdump" path="/home/grid/app/grid/diagsnap/nodo1/evt_1_20190709-141720/tcpdump_enp0s8.trc" dev="dm-2" ino=102543772 ioctlcmd=5401 scontext=system_u:system_r:netutils_t:s0 tcontext=system_u:object_r:user_home_t:s0 tclass=file permissive=0

type=SYSCALL msg=audit(1562696241.42:3547): arch=x86_64 syscall=ioctl success=no exit=EACCES a0=1 a1=5401 a2=7ffd87f87da0 a3=7ffd87f878a0 items=0 ppid=1594 pid=1605 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=tcpdump exe=/usr/sbin/tcpdump subj=system_u:system_r:netutils_t:s0 key=(null)

Hash: tcpdump,netutils_t,user_home_t,file,ioctl

Version-Release number of selected component:
Additional Informationreporter: libreport-
hashmarkername: setroubleshoot
kernel: 3.10.0-957.21.3.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-07-09 18:26 Elvis Paez New Issue