View Issue Details

IDProjectCategoryView StatusLast Update
0012913CentOS-7selinux-policypublic2017-11-29 21:24
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0012913: SELinux is preventing /usr/sbin/sendmail.sendmail from 'search' accesses on the directory net.
DescriptionDescription of problem:
The notification message comes up randomly and unsolicited. This is a new installation.
I have not yet configured sendmail, but will do so later.
SELinux is preventing /usr/sbin/sendmail.sendmail from 'search' accesses on the directory net.

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

If you believe that sendmail.sendmail should be allowed search access on the net directory 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 'sendmail' --raw | audit2allow -M my-sendmail
# semodule -i my-sendmail.pp

Additional Information:
Source Context system_u:system_r:sendmail_t:s0
Target Context system_u:object_r:sysctl_net_t:s0
Target Objects net [ dir ]
Source sendmail
Source Path /usr/sbin/sendmail.sendmail
Port <Unknown>
Host (removed)
Source RPM Packages sendmail-8.14.7-4.el7.x86_64
Target RPM Packages
Policy RPM selinux-policy-3.13.1-102.el7_3.13.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name (removed)
Platform Linux (removed) 3.10.0-514.6.2.el7.x86_64 #1 SMP
                              Thu Feb 23 03:04:39 UTC 2017 x86_64 x86_64
Alert Count 2
First Seen 2017-03-02 23:52:26 EST
Last Seen 2017-03-02 23:52:28 EST
Local ID 172c3fd4-d307-4029-90c0-720a443013c4

Raw Audit Messages
type=AVC msg=audit(1488516748.604:48): avc: denied { search } for pid=1776 comm="sendmail" name="net" dev="proc" ino=6947 scontext=system_u:system_r:sendmail_t:s0 tcontext=system_u:object_r:sysctl_net_t:s0 tclass=dir

type=SYSCALL msg=audit(1488516748.604:48): arch=x86_64 syscall=open success=no exit=EACCES a0=7fe9e0c1e4b0 a1=80000 a2=1b6 a3=24 items=0 ppid=1 pid=1776 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=51 sgid=51 fsgid=51 tty=(none) ses=4294967295 comm=sendmail exe=/usr/sbin/sendmail.sendmail subj=system_u:system_r:sendmail_t:s0 key=(null)

Hash: sendmail,sendmail_t,sysctl_net_t,dir,search

Version-Release number of selected component:
Additional Informationreporter: libreport-
hashmarkername: setroubleshoot
kernel: 3.10.0-514.6.2.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
2017-03-03 05:20 mjeghers New Issue