View Issue Details

IDProjectCategoryView StatusLast Update
0015128CentOS-7selinux-policypublic2018-08-01 18:22
Reporteribrassfield 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0015128: SELinux is preventing /usr/libexec/postfix/local from 'search' accesses on the directory /var/spool/icinga2.
DescriptionDescription of problem:
I am running icinga2 and I recieved error after performing a task so I am assuming that the issue is related.
SELinux is preventing /usr/libexec/postfix/local from 'search' accesses on the directory /var/spool/icinga2.

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

If you believe that local should be allowed search access on the icinga2 directory by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# ausearch -c 'local' --raw | audit2allow -M my-local
# semodule -i my-local.pp

Additional Information:
Source Context system_u:system_r:postfix_local_t:s0
Target Context system_u:object_r:icinga2_spool_t:s0
Target Objects /var/spool/icinga2 [ dir ]
Source local
Source Path /usr/libexec/postfix/local
Port <Unknown>
Host (removed)
Source RPM Packages
Target RPM Packages icinga2-common-2.9.1-1.el7.icinga.x86_64
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) 3.10.0-862.9.1.el7.x86_64 #1 SMP
                              Mon Jul 16 16:29:36 UTC 2018 x86_64 x86_64
Alert Count 21
First Seen 2018-08-01 11:30:53 EDT
Last Seen 2018-08-01 14:15:46 EDT
Local ID a242023c-4bbf-4634-a13f-9097807ed4a2

Raw Audit Messages
type=AVC msg=audit(1533147346.691:239): avc: denied { search } for pid=4360 comm="local" name="icinga2" dev="dm-0" ino=9404283 scontext=system_u:system_r:postfix_local_t:s0 tcontext=system_u:object_r:icinga2_spool_t:s0 tclass=dir


Hash: local,postfix_local_t,icinga2_spool_t,dir,search

Version-Release number of selected component:
selinux-policy-3.13.1-192.el7_5.4.noarch
Additional Informationreporter: libreport-2.1.11.1
hashmarkername: setroubleshoot
kernel: 3.10.0-862.9.1.el7.x86_64
reproducible: Not sure how to reproduce the problem
type: libreport
TagsNo tags attached.
abrt_hash5a9fe7fa1f582ce355e2614e3e17c65529dec335ae80e426885e1444693d261d
URL

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2018-08-01 18:22 ibrassfield New Issue