Bug 964674 - SELinux is preventing /usr/libexec/mission-control-5 from 'create' accesses on the file accounts.cfg.3490WW.
Summary: SELinux is preventing /usr/libexec/mission-control-5 from 'create' accesses o...
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:14374cc0b61b633735ebe7fa7c2...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-19 12:24 UTC by vinesh teotia
Modified: 2013-05-20 08:41 UTC (History)
3 users (show)

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


Attachments (Terms of Use)

Description vinesh teotia 2013-05-19 12:24:30 UTC
Description of problem:
SELinux is preventing /usr/libexec/mission-control-5 from 'create' accesses on the file accounts.cfg.3490WW.

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

If you believe that mission-control-5 should be allowed create access on the accounts.cfg.3490WW 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                accounts.cfg.3490WW [ 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-42.fc19.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 3.9.1-301.fc19.x86_64 #1 SMP Wed
                              May 8 18:02:34 UTC 2013 x86_64 x86_64
Alert Count                   1
First Seen                    2013-05-13 16:51:09 IST
Last Seen                     2013-05-13 16:51:09 IST
Local ID                      f8581243-635f-4b78-be23-67bc8a44e50d

Raw Audit Messages
type=AVC msg=audit(1368444069.124:455): avc:  denied  { create } for  pid=2690 comm="mission-control" name="accounts.cfg.3490WW" 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=AVC msg=audit(1368444069.124:455): avc:  denied  { read write open } for  pid=2690 comm="mission-control" path="/var/lib/gdm/.local/share/telepathy/mission-control/accounts.cfg.3490WW" dev="dm-2" ino=2234646 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(1368444069.124:455): arch=x86_64 syscall=open success=yes exit=EIO a0=96ca70 a1=c2 a2=1b6 a3=0 items=0 ppid=2689 pid=2690 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,create

audit2allow

#============= xdm_dbusd_t ==============
allow xdm_dbusd_t xdm_var_lib_t:file { read write create open };

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 865770

Comment 1 Miroslav Grepl 2013-05-20 08:41:26 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.