2017-12-16 20:38 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0012913CentOS-7selinux-policypublic2017-11-29 21:24
Reportermjeghers 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusnewResolutionopen 
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.
Do
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:
selinux-policy-3.13.1-102.el7_3.13.noarch
Additional Informationreporter: libreport-2.1.11.1
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.
abrt_hashc7c57565b0cbef505f127ae2b8172f1fbd47b7e6e1ab9da652c377ecf26ac180
URL
Attached Files

-Relationships
+Relationships

-Notes
There are no notes attached to this issue.
+Notes

-Issue History
Date Modified Username Field Change
2017-03-03 05:20 mjeghers New Issue
+Issue History