Bug 691101 - SELinux is preventing /usr/libexec/mission-control-5.#prelink#.d1OCKN (deleted) from 'remove_name' accesses on the directory accounts.cfg.J7TJSV.
Summary: SELinux is preventing /usr/libexec/mission-control-5.#prelink#.d1OCKN (delete...
Keywords:
Status: CLOSED NOTABUG
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:d98b5d1cc69...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-26 18:26 UTC by Trevor Davenport
Modified: 2011-03-28 11:42 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-28 11:42:26 UTC
Type: ---


Attachments (Terms of Use)

Description Trevor Davenport 2011-03-26 18:26:18 UTC
SELinux is preventing /usr/libexec/mission-control-5.#prelink#.d1OCKN (deleted) from 'remove_name' accesses on the directory accounts.cfg.J7TJSV.

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

If you believe that mission-control-5.#prelink#.d1OCKN (deleted) should be allowed remove_name access on the accounts.cfg.J7TJSV directory 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:user_home_t:s0
Target Objects                accounts.cfg.J7TJSV [ dir ]
Source                        mission-control
Source Path                   /usr/libexec/mission-control-5.#prelink#.d1OCKN
                              (deleted)
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.16-6.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 2.6.38.1-6.fc15.x86_64
                              #1 SMP Wed Mar 23 22:43:31 UTC 2011 x86_64 x86_64
Alert Count                   1
First Seen                    Sat 26 Mar 2011 11:24:46 AM PDT
Last Seen                     Sat 26 Mar 2011 11:24:46 AM PDT
Local ID                      1874c707-4fba-44f4-8585-d68f3831a5f2

Raw Audit Messages
type=AVC msg=audit(1301163886.942:390): avc:  denied  { remove_name } for  pid=26660 comm="mission-control" name="accounts.cfg.J7TJSV" dev=dm-5 ino=21234602 scontext=unconfined_u:unconfined_r:telepathy_mission_control_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=dir


type=AVC msg=audit(1301163886.942:390): avc:  denied  { rename } for  pid=26660 comm="mission-control" name="accounts.cfg.J7TJSV" dev=dm-5 ino=21234602 scontext=unconfined_u:unconfined_r:telepathy_mission_control_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file


type=AVC msg=audit(1301163886.942:390): avc:  denied  { unlink } for  pid=26660 comm="mission-control" name="accounts.cfg" dev=dm-5 ino=21234606 scontext=unconfined_u:unconfined_r:telepathy_mission_control_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file


type=SYSCALL msg=audit(1301163886.942:390): arch=x86_64 syscall=rename success=yes exit=0 a0=1eeae50 a1=1e2f120 a2=1e71640 a3=1 items=0 ppid=1 pid=26660 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=3 comm=mission-control exe=2F7573722F6C6962657865632F6D697373696F6E2D636F6E74726F6C2D352E237072656C696E6B232E64314F434B4E202864656C6574656429 subj=unconfined_u:unconfined_r:telepathy_mission_control_t:s0-s0:c0.c1023 key=(null)

Hash: mission-control,telepathy_mission_control_t,user_home_t,dir,remove_name

audit2allow

#============= telepathy_mission_control_t ==============
allow telepathy_mission_control_t user_home_t:dir remove_name;
allow telepathy_mission_control_t user_home_t:file { rename unlink };

audit2allow -R

#============= telepathy_mission_control_t ==============
allow telepathy_mission_control_t user_home_t:dir remove_name;
allow telepathy_mission_control_t user_home_t:file { rename unlink };

Comment 1 Miroslav Grepl 2011-03-28 11:42:26 UTC
Execute

# restorecon -R -v ~/

Should fix it.


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