Bug 690004 - SELinux is preventing /usr/libexec/mission-control-5 from 'read' accesses on the lnk_file /home/maners/.local.
Summary: SELinux is preventing /usr/libexec/mission-control-5 from 'read' accesses on ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 15
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:e785ad75520...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-23 00:05 UTC by Dawid Zamirski
Modified: 2011-05-17 15:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-17 15:55:53 UTC
Type: ---


Attachments (Terms of Use)

Description Dawid Zamirski 2011-03-23 00:05:13 UTC
SELinux is preventing /usr/libexec/mission-control-5 from 'read' accesses on the lnk_file /home/maners/.local.

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

If you believe that mission-control-5 should be allowed read access on the .local lnk_file 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                unconfined_u:unconfined_r:telepathy_mission_contro
                              l_t:s0-s0:c0.c1023
Target Context                unconfined_u:object_r:gconf_home_t:s0
Target Objects                /home/maners/.local [ lnk_file ]
Source                        mission-control
Source Path                   /usr/libexec/mission-control-5
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           telepathy-mission-control-5.7.6-1.fc15
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.16-5.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 2.6.38-1.fc15.x86_64 #1
                              SMP Tue Mar 15 05:29:00 UTC 2011 x86_64 x86_64
Alert Count                   238
First Seen                    Mon 14 Mar 2011 10:08:35 PM EDT
Last Seen                     Tue 22 Mar 2011 07:02:42 PM EDT
Local ID                      dfcbfc18-d054-4509-a62f-0105d2d1ef7c

Raw Audit Messages
type=AVC msg=audit(1300834962.955:89): avc:  denied  { read } for  pid=2052 comm="mission-control" name=".local" dev=sda5 ino=4980750 scontext=unconfined_u:unconfined_r:telepathy_mission_control_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:gconf_home_t:s0 tclass=lnk_file


type=SYSCALL msg=audit(1300834962.955:89): arch=x86_64 syscall=stat success=no exit=EACCES a0=ca1370 a1=7fffe1508110 a2=7fffe1508110 a3=7f5f01587238 items=0 ppid=1 pid=2052 auid=501 uid=501 gid=500 euid=501 suid=501 fsuid=501 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm=mission-control exe=/usr/libexec/mission-control-5 subj=unconfined_u:unconfined_r:telepathy_mission_control_t:s0-s0:c0.c1023 key=(null)

Hash: mission-control,telepathy_mission_control_t,gconf_home_t,lnk_file,read

audit2allow

#============= telepathy_mission_control_t ==============
allow telepathy_mission_control_t gconf_home_t:lnk_file read;

audit2allow -R

#============= telepathy_mission_control_t ==============
allow telepathy_mission_control_t gconf_home_t:lnk_file read;

Comment 1 Daniel Walsh 2011-03-23 13:32:23 UTC
Fixed in selinux-policy-3.9.16-7.fc15


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