Bug 681712 - SELinux is preventing /usr/libexec/mission-control-5 from 'create' accesses on the file accounts.cfg.6P6MRV.
Summary: SELinux is preventing /usr/libexec/mission-control-5 from 'create' accesses o...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:692325ac68f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-02 23:43 UTC by Joe Julian
Modified: 2011-05-09 17:47 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-09 17:47:25 UTC
Type: ---


Attachments (Terms of Use)

Description Joe Julian 2011-03-02 23:43:35 UTC
SELinux is preventing /usr/libexec/mission-control-5 from 'create' accesses on the file accounts.cfg.6P6MRV.

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

If you believe that mission-control-5 should be allowed create access on the accounts.cfg.6P6MRV 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_t:s0-s0:c0.c1023
Target Context                system_u:object_r:admin_home_t:s0
Target Objects                accounts.cfg.6P6MRV [ file ]
Source                        mission-control
Source Path                   /usr/libexec/mission-control-5
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           telepathy-mission-control-5.6.1-1.fc14
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.7-31.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.35.11-83.fc14.x86_64 #1 SMP Mon Feb 7 07:06:44
                              UTC 2011 x86_64 x86_64
Alert Count                   1
First Seen                    Wed 02 Mar 2011 11:04:39 AM PST
Last Seen                     Wed 02 Mar 2011 11:04:39 AM PST
Local ID                      3c3bdb78-1c78-43a9-9ad6-166cdb3387af

Raw Audit Messages
type=AVC msg=audit(1299092679.179:9): avc:  denied  { create } for  pid=2077 comm="mission-control" name="accounts.cfg.6P6MRV" scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:admin_home_t:s0 tclass=file


type=SYSCALL msg=audit(1299092679.179:9): arch=x86_64 syscall=open success=no exit=EACCES a0=eb06b0 a1=c2 a2=1b6 a3=2f73746e756f6363 items=0 ppid=2076 pid=2077 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=mission-control exe=/usr/libexec/mission-control-5 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)

Hash: mission-control,xdm_t,admin_home_t,file,create

audit2allow

#============= xdm_t ==============
allow xdm_t admin_home_t:file create;

audit2allow -R

#============= xdm_t ==============
allow xdm_t admin_home_t:file create;

Comment 1 Miroslav Grepl 2011-03-03 10:38:59 UTC
Did you log in as root? Also how did you start empathy?

What does show

# id -Z

Comment 2 Joe Julian 2011-03-03 23:10:49 UTC
I did not log in as root.
Not sure how empathy starts. This error was reported as soon as I logged in.
id -Z = unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023

Comment 3 Daniel Walsh 2011-03-07 22:48:56 UTC
Something strange in /etc/profile?

Comment 4 Daniel Walsh 2011-03-31 19:51:16 UTC
Miroslav lets dontaudit these.


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