Bug 1460479 - /usr/bin/newaliases.sendmail and /usr/sbin/sendmail.sendmail try to access sysctl_net_t
/usr/bin/newaliases.sendmail and /usr/sbin/sendmail.sendmail try to access sy...
Status: NEW
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: selinux-policy (Show other bugs)
7.3
All Linux
unspecified Severity medium
: rc
: ---
Assigned To: Lukas Vrabec
Milos Malik
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-06-10 21:04 EDT by Robert Scheck
Modified: 2017-08-01 03:44 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Robert Scheck 2017-06-10 21:04:45 EDT
Description of problem:
type=AVC msg=audit(1495146039.669:299): avc:  denied  { search } for  pid=9038 comm="newaliases" name="net" dev="proc" ino=9469 scontext=unconfined_u:unconfined_r:system_mail_t:s0-s0:c0.c1023 tcontext=system_u:object_r:sysctl_net_t:s0 tclass=dir
type=SYSCALL msg=audit(1495146039.669:299): arch=c000003e syscall=2 success=no exit=-13 a0=7f5fe86074b0 a1=80000 a2=1b6 a3=24 items=0 ppid=9036 pid=9038 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=51 sgid=51 fsgid=51 tty=pts1 ses=3 comm="newaliases" exe="/usr/sbin/sendmail.sendmail" subj=unconfined_u:unconfined_r:system_mail_t:s0-s0:c0.c1023 key=(null)

type=AVC msg=audit(1497081381.192:1576): avc:  denied  { search } for  pid=18875 comm="sendmail" name="net" dev="proc" ino=90465 scontext=system_u:system_r:sendmail_t:s0 tcontext=system_u:object_r:sysctl_net_t:s0 tclass=dir
type=SYSCALL msg=audit(1497081381.192:1576): arch=c000003e syscall=2 success=no exit=-13 a0=7f8038ce14b0 a1=80000 a2=1b6 a3=24 items=0 ppid=1 pid=18875 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)

Version-Release number of selected component (if applicable):
selinux-policy-targeted-3.13.1-102.el7_3.16.noarch
sendmail-8.14.7-4.el7.x86_64

How reproducible:
Everytime, see above and below. Basically a system with GUI and sendmail.

Actual results:
/usr/bin/newaliases.sendmail and /usr/sbin/sendmail.sendmail try to access 
sysctl_net_t.

Expected results:
No AVC denied, but I have no idea if that should be allowed or not.

Note You need to log in before you can comment on or make changes to this bug.