View Issue Details

IDProjectCategoryView StatusLast Update
0015919CentOS-7selinux-policypublic2019-03-14 01:17
Reporterslow33 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0015919: SELinux is preventing /usr/sbin/zabbix_server_mysql from 'unlink' accesses on the sock_file zabbix_server_alerter.sock.
DescriptionDescription of problem:
SELinux is preventing /usr/sbin/zabbix_server_mysql from 'unlink' accesses on the sock_file zabbix_server_alerter.sock.

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

If you believe that zabbix_server_mysql should be allowed unlink access on the zabbix_server_alerter.sock sock_file by default.
Then 이 버그를 보고해야 합니다.
이러한 액세스를 허용하기 위해 로컬 정채 모듈을 생성할 수 있습니다.
Do
allow this access for now by executing:
# ausearch -c 'zabbix_server' --raw | audit2allow -M my-zabbixserver
# semodule -i my-zabbixserver.pp

Additional Information:
Source Context system_u:system_r:zabbix_t:s0
Target Context system_u:object_r:zabbix_var_run_t:s0
Target Objects zabbix_server_alerter.sock [ sock_file ]
Source zabbix_server
Source Path /usr/sbin/zabbix_server_mysql
Port <Unknown>
Host (removed)
Source RPM Packages zabbix-server-mysql-4.2.0-0.4beta2.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 78
First Seen 2019-03-14 00:36:29 KST
Last Seen 2019-03-14 01:44:50 KST
Local ID e2b77af6-29e6-4e5a-94d6-ca7c287e6dee

Raw Audit Messages
type=AVC msg=audit(1552495490.6:1854): avc: denied { unlink } for pid=20223 comm="zabbix_server" name="zabbix_server_alerter.sock" dev="tmpfs" ino=61669 scontext=system_u:system_r:zabbix_t:s0 tcontext=system_u:object_r:zabbix_var_run_t:s0 tclass=sock_file permissive=0


type=SYSCALL msg=audit(1552495490.6:1854): arch=x86_64 syscall=unlink success=no exit=EACCES a0=564929fcd1a0 a1=0 a2=7fa105b3d7b8 a3=40 items=0 ppid=20181 pid=20223 auid=4294967295 uid=987 gid=981 euid=987 suid=987 fsuid=987 egid=981 sgid=981 fsgid=981 tty=(none) ses=4294967295 comm=zabbix_server exe=/usr/sbin/zabbix_server_mysql subj=system_u:system_r:zabbix_t:s0 key=(null)

Hash: zabbix_server,zabbix_t,zabbix_var_run_t,sock_file,unlink

Version-Release number of selected component:
selinux-policy-3.13.1-229.el7_6.9.noarch
Additional Informationreporter: libreport-2.1.11.1
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.
abrt_hashb51afdc25cb04bf16590f450376d51f05902485af8b7c128d59a6f4bd471314a
URL

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-03-14 01:17 slow33 New Issue