Bug 964663 - SELinux is preventing /usr/libexec/mission-control-5 from 'getattr' accesses on the file /var/lib/gdm/.local/share/telepathy/mission-control/accounts-goa.cfg.
Summary: SELinux is preventing /usr/libexec/mission-control-5 from 'getattr' accesses ...
Keywords:
Status: CLOSED DUPLICATE of bug 964660
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 19
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:4a2dab1ae30b26995569cf9c06b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-19 12:16 UTC by vinesh teotia
Modified: 2013-05-20 08:44 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-20 08:44:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description vinesh teotia 2013-05-19 12:16:35 UTC
Description of problem:
SELinux is preventing /usr/libexec/mission-control-5 from 'getattr' accesses on the file /var/lib/gdm/.local/share/telepathy/mission-control/accounts-goa.cfg.

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

If you believe that mission-control-5 should be allowed getattr access on the accounts-goa.cfg 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                system_u:system_r:xdm_dbusd_t:s0-s0:c0.c1023
Target Context                system_u:object_r:xdm_var_lib_t:s0
Target Objects                /var/lib/gdm/.local/share/telepathy/mission-
                              control/accounts-goa.cfg [ file ]
Source                        mission-control
Source Path                   /usr/libexec/mission-control-5
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           telepathy-mission-control-5.14.1-1.fc19.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-44.fc19.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 3.9.2-301.fc19.x86_64 #1 SMP Mon
                              May 13 12:36:24 UTC 2013 x86_64 x86_64
Alert Count                   3
First Seen                    2013-05-13 16:51:09 IST
Last Seen                     2013-05-16 12:43:33 IST
Local ID                      33347c5a-0f36-4a51-bcf1-a257f4bd007e

Raw Audit Messages
type=AVC msg=audit(1368688413.741:493): avc:  denied  { getattr } for  pid=9409 comm="mission-control" path="/var/lib/gdm/.local/share/telepathy/mission-control/accounts-goa.cfg" dev="dm-2" ino=2228786 scontext=system_u:system_r:xdm_dbusd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:xdm_var_lib_t:s0 tclass=file


type=SYSCALL msg=audit(1368688413.741:493): arch=x86_64 syscall=fstat success=yes exit=0 a0=7 a1=7fff102174b0 a2=7fff102174b0 a3=0 items=0 ppid=9408 pid=9409 auid=4294967295 uid=42 gid=42 euid=42 suid=42 fsuid=42 egid=42 sgid=42 fsgid=42 ses=4294967295 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_var_lib_t,file,getattr

audit2allow

#============= xdm_dbusd_t ==============
allow xdm_dbusd_t xdm_var_lib_t:file getattr;

audit2allow -RYou must regenerate interface info by running /usr/bin/sepolgen-ifgen


Additional info:
reporter:       libreport-2.1.4
hashmarkername: setroubleshoot
kernel:         3.9.2-301.fc19.x86_64
type:           libreport

Potential duplicate: bug 862154

Comment 1 Miroslav Grepl 2013-05-20 08:44:25 UTC

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


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