Bug 690004

Summary: SELinux is preventing /usr/libexec/mission-control-5 from 'read' accesses on the lnk_file /home/maners/.local.
Product: [Fedora] Fedora Reporter: Dawid Zamirski <dzrudy>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 15CC: dwalsh, dzrudy, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:e785ad755205d584e8213f11d280b7351a330785a41f20c229c786208a4a78e3
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-17 15:55:53 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 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