Bug 753440

Summary: exim has denied access to "online" file in sysfs
Product: [Fedora] Fedora Reporter: Krzysztof Urbaniak <urban>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dominick.grift, dwalsh, fschwarz, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: selinux-policy-3.10.0-61.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-30 02:00:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Krzysztof Urbaniak 2011-11-12 14:52:52 UTC
Description of problem:
some avc's:

[94502.978145] type=1400 audit(1321104773.977:207): avc:  denied  { read } for  pid=15138 comm="exim" name="online" dev=sysfs ino=34 scontext=system_u:system_r:exim_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=file
[94503.418986] type=1400 audit(1321104774.417:208): avc:  denied  { read } for  pid=15144 comm="exim" name="online" dev=sysfs ino=34 scontext=system_u:system_r:exim_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=file
[94503.770797] type=1400 audit(1321104774.769:209): avc:  denied  { read } for  pid=15149 comm="exim" name="online" dev=sysfs ino=34 scontext=system_u:system_r:exim_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=file

Version-Release number of selected component (if applicable):
% rpm -qa|egrep 'exim-4|selinux-policy|kernel-3'
selinux-policy-3.10.0-55.fc16.noarch
selinux-policy-targeted-3.10.0-55.fc16.noarch
kernel-3.1.0-7.fc16.x86_64
exim-4.76-4.fc16.x86_64

Steps to Reproduce:
just use exim as mailserver
  
Actual results:
exim works, but i've got lots of AVC in logs

Expected results:
no AVC in logs

Additional info:

Comment 1 Daniel Walsh 2011-11-18 16:29:16 UTC
Try -56, I believe it is fixed there.  I am sure it is fixed in -57.

Comment 2 Fedora Update System 2011-11-24 13:22:46 UTC
selinux-policy-3.10.0-59.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-59.fc16

Comment 3 Fedora Update System 2011-11-25 02:18:01 UTC
Package selinux-policy-3.10.0-60.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-60.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-16371/selinux-policy-3.10.0-60.fc16
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2011-11-25 23:26:16 UTC
Package selinux-policy-3.10.0-61.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-61.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-16371/selinux-policy-3.10.0-61.fc16
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2011-11-30 02:00:59 UTC
selinux-policy-3.10.0-61.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.