Bug 984002 - SELinux is preventing /usr/libexec/mission-control-5 from using the 'setsched' accesses on a process.
Summary: SELinux is preventing /usr/libexec/mission-control-5 from using the 'setsched...
Keywords:
Status: CLOSED DUPLICATE of bug 862149
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:792bf3250dec35e596c8a5987c9...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-12 13:48 UTC by Joost Ringoot
Modified: 2013-07-16 12:25 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-16 12:25:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Joost Ringoot 2013-07-12 13:48:31 UTC
Description of problem:
It appears shortly after login to a gnome session.
SELinux is preventing /usr/libexec/mission-control-5 from using the 'setsched' accesses on a process.

*****  Plugin catchall (100. confidence) suggests  ***************************

If you believe that mission-control-5 should be allowed setsched access on processes labeled xdm_dbusd_t 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:
# grep mission-control /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:xdm_dbusd_t:s0-s0:c0.c1023
Target Context                system_u:system_r:xdm_dbusd_t:s0-s0:c0.c1023
Target Objects                 [ process ]
Source                        mission-control
Source Path                   /usr/libexec/mission-control-5
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           telepathy-mission-control-5.14.0-2.fc18.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.11.1-97.fc18.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 3.9.6-200.fc18.x86_64 #1 SMP Thu
                              Jun 13 18:56:55 UTC 2013 x86_64 x86_64
Alert Count                   1
First Seen                    2013-07-12 15:43:17 CEST
Last Seen                     2013-07-12 15:43:17 CEST
Local ID                      5bbf326b-0de1-4fe2-898d-1fdf561376d9

Raw Audit Messages
type=AVC msg=audit(1373636597.489:356): avc:  denied  { setsched } for  pid=1794 comm="mission-control" scontext=system_u:system_r:xdm_dbusd_t:s0-s0:c0.c1023 tcontext=system_u:system_r:xdm_dbusd_t:s0-s0:c0.c1023 tclass=process


type=SYSCALL msg=audit(1373636597.489:356): arch=x86_64 syscall=setpriority success=yes exit=0 a0=0 a1=702 a2=0 a3=1 items=0 ppid=1 pid=1794 auid=42 uid=42 gid=42 euid=42 suid=42 fsuid=42 egid=42 sgid=42 fsgid=42 ses=1 tty=(none) comm=mission-control exe=/usr/libexec/mission-control-5 subj=system_u:system_r:xdm_dbusd_t:s0-s0:c0.c1023 key=(null)

Hash: mission-control,xdm_dbusd_t,xdm_dbusd_t,process,setsched

audit2allow

#============= xdm_dbusd_t ==============
allow xdm_dbusd_t self:process setsched;

audit2allow -R
require {
	type xdm_dbusd_t;
	class process setsched;
}

#============= xdm_dbusd_t ==============
allow xdm_dbusd_t self:process setsched;


Additional info:
reporter:       libreport-2.1.5
hashmarkername: setroubleshoot
kernel:         3.9.6-200.fc18.x86_64
type:           libreport

Potential duplicate: bug 862149

Comment 1 Miroslav Grepl 2013-07-16 12:25:54 UTC

*** This bug has been marked as a duplicate of bug 862149 ***


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