View Issue Details

IDProjectCategoryView StatusLast Update
0016233CentOS-7selinux-policypublic2019-07-02 02:01
Reporterjarlockx 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0016233: SELinux is preventing /usr/sbin/iw from 'create' accesses on the netlink_socket labeled tlp_t.
DescriptionDescription of problem:
Despues de actualizar el sistema y reiniciar inicio con el kernel CentOS Linux (3.10.0-957.21.3.el7.x86_64) 7 (Core) actualizado y me dio ese error
y despues con el kernel CentOS Linux (5.1.8-1.el7.elrepo.x86_64) 7 (Core) tambien me dio el error
SELinux is preventing /usr/sbin/iw from 'create' accesses on the netlink_socket labeled tlp_t.

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

Si cree que de manera predeterminada se debería permitir a iw el acceso create sobre netlink_socket etiquetados como tlp_t.
Then debería reportar esto como un error.
Puede generar un módulo de política local para permitir este acceso.
Do
permita el acceso temporalmente ejecutando:
# ausearch -c 'iw' --raw | audit2allow -M mi-iw
# semodule -i mi-iw.pp

Additional Information:
Source Context system_u:system_r:tlp_t:s0
Target Context system_u:system_r:tlp_t:s0
Target Objects Unknown [ netlink_socket ]
Source iw
Source Path /usr/sbin/iw
Port <Unknown>
Host (removed)
Source RPM Packages iw-4.3-2.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 4
First Seen 2019-07-01 10:16:22 CST
Last Seen 2019-07-01 19:08:35 CST
Local ID 4344e08d-ed6d-4602-bab7-775832c7b4d7

Raw Audit Messages
type=AVC msg=audit(1562029715.420:702): avc: denied { create } for pid=12528 comm="iw" scontext=system_u:system_r:tlp_t:s0 tcontext=system_u:system_r:tlp_t:s0 tclass=netlink_socket permissive=0


type=SYSCALL msg=audit(1562029715.420:702): arch=x86_64 syscall=socket success=no exit=EACCES a0=10 a1=3 a2=10 a3=7ffc96724f60 items=0 ppid=12444 pid=12528 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=iw exe=/usr/sbin/iw subj=system_u:system_r:tlp_t:s0 key=(null)

Hash: iw,tlp_t,tlp_t,netlink_socket,create

Version-Release number of selected component:
selinux-policy-3.13.1-229.el7_6.12.noarch
Additional Informationreporter: libreport-2.1.11.1
hashmarkername: setroubleshoot
kernel: 5.1.8-1.el7.elrepo.x86_64
reproducible: Not sure how to reproduce the problem
type: libreport
TagsNo tags attached.
abrt_hashc78374219bbb9ac4e6c9ff681d35262507f570b3afff31d99a34d358a9968b4f
URL

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-07-02 02:01 jarlockx New Issue