Bug 738415

Summary: sendmail/logwatch/urandom denials
Product: [Fedora] Fedora Reporter: Orion Poplawski <orion>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 16CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-15 11:38:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Orion Poplawski 2011-09-14 18:14:03 UTC
Description of problem:

In permissive:
Sep 13 03:47:52 vmrawhide kernel: [409473.124718] type=1400 audit(1315907272.972:160): avc:  denied  { read } for  pid=28396 comm="sendmail" name="urandom" dev=devtmpfs ino=4301 scontext=system_u:system_r:logwatch_mail_t:s0-s0:c0.c1023 tcontext=system_u:object_r:urandom_device_t:s0 tclass=chr_file
Sep 13 03:47:52 vmrawhide kernel: [409473.132400] type=1400 audit(1315907272.980:161): avc:  denied  { open } for  pid=28396 comm="sendmail" name="urandom" dev=devtmpfs ino=4301 scontext=system_u:system_r:logwatch_mail_t:s0-s0:c0.c1023 tcontext=system_u:object_r:urandom_device_t:s0 tclass=chr_file
Sep 13 03:47:52 vmrawhide kernel: [409473.140130] type=1400 audit(1315907272.987:162): avc:  denied  { getattr } for  pid=28396 comm="sendmail" path="/dev/urandom" dev=devtmpfs ino=4301 scontext=system_u:system_r:logwatch_mail_t:s0-s0:c0.c1023 tcontext=system_u:object_r:urandom_device_t:s0 tclass=chr_file

in enforcing I just see the first one.  This is apparently from logwatch sending its email summary.

Version-Release number of selected component (if applicable):
selinux-policy-3.10.0-26.fc17.noarch

Comment 1 Miroslav Grepl 2011-09-15 11:38:40 UTC
Fixed in selinux-policy-3.10.0-29.fc17

I am also backporting to RHEL6, F15, F14.