Bug 864911 - service tuned restart produces AVCs
Summary: service tuned restart produces AVCs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 18
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-10 11:33 UTC by Milos Malik
Modified: 2012-12-20 16:23 UTC (History)
4 users (show)

Fixed In Version: selinux-policy-3.11.1-35.fc18
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-20 16:23:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Milos Malik 2012-10-10 11:33:51 UTC
Description of problem:


Version-Release number of selected component (if applicable):
selinux-policy-3.11.1-32.fc18.noarch
selinux-policy-targeted-3.11.1-32.fc18.noarch
selinux-policy-devel-3.11.1-32.fc18.noarch
tuned-2.0.1-5.fc18.noarch
tuned-utils-2.0.1-5.fc18.noarch

How reproducible:
always

Steps to Reproduce:
# service tuned restart
# ausearch -m avc -ts recent
  
Actual results:
----
type=SYSCALL msg=audit(10/10/2012 12:25:48.523:498) : arch=i386 syscall=sched_setscheduler success=no exit=-13(Permission denied) a0=0x14e0 a1=0x0 a2=0xbfe531cc a3=0xb73cb6c0 items=0 ppid=5342 pid=5344 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) ses=unset comm=python exe=/usr/bin/python2.7 subj=system_u:system_r:tuned_t:s0 key=(null) 
type=AVC msg=audit(10/10/2012 12:25:48.523:498) : avc:  denied  { setsched } for  pid=5344 comm=python scontext=system_u:system_r:tuned_t:s0 tcontext=system_u:system_r:tuned_t:s0 tclass=process 
----
type=SYSCALL msg=audit(10/10/2012 12:25:48.526:499) : arch=i386 syscall=open success=no exit=-13(Permission denied) a0=0xb6c2589e a1=O_RDONLY a2=0x1b6 a3=0x8322e38 items=0 ppid=5342 pid=5344 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) ses=unset comm=python exe=/usr/bin/python2.7 subj=system_u:system_r:tuned_t:s0 key=(null) 
type=AVC msg=audit(10/10/2012 12:25:48.526:499) : avc:  denied  { read } for  pid=5344 comm=python name=/ dev="tmpfs" ino=11297 scontext=system_u:system_r:tuned_t:s0 tcontext=system_u:object_r:tmp_t:s0 tclass=dir 
----

Expected results:
 * no AVCs

Comment 1 Miroslav Grepl 2012-10-10 11:47:59 UTC
Fixed in selinux-policy-3.11.1-35.fc18

Comment 2 Fedora Update System 2012-10-11 09:05:00 UTC
selinux-policy-3.11.1-36.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-36.fc18

Comment 3 Fedora Update System 2012-10-11 17:23:36 UTC
Package selinux-policy-3.11.1-36.fc18:
* should fix your issue,
* was pushed to the Fedora 18 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.11.1-36.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-15934/selinux-policy-3.11.1-36.fc18
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-12-20 16:23:04 UTC
selinux-policy-3.11.1-36.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


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