Bug 1030605 - SELinux is preventing /usr/bin/composite from 'unlink' accesses on the file magick9KWK1C.
Summary: SELinux is preventing /usr/bin/composite from 'unlink' accesses on the file m...
Keywords:
Status: CLOSED NOTABUG
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:68049c1f68f6a61fdb6c3c96dad...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-14 19:12 UTC by Javier Villanueva
Modified: 2013-12-06 17:22 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-06 17:22:27 UTC
Type: ---


Attachments (Terms of Use)

Description Javier Villanueva 2013-11-14 19:12:28 UTC
Description of problem:
SELinux is preventing /usr/bin/composite from 'unlink' accesses on the file magick9KWK1C.

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

If cree que de manera predeterminada, composite debería permitir acceso unlink sobre  magick9KWK1C file.     
Then debería reportar esto como un error.
Puede generar un módulo de política local para permitir este acceso.
Do
permita el acceso momentáneamente executando:
# grep composite /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023
Target Context                unconfined_u:object_r:user_home_dir_t:s0
Target Objects                magick9KWK1C [ file ]
Source                        composite
Source Path                   /usr/bin/composite
Port                          <Desconocido>
Host                          (removed)
Source RPM Packages           ImageMagick-6.7.8.9-5.fc19.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-74.11.fc19.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 3.11.7-200.fc19.x86_64 #1 SMP Mon
                              Nov 4 14:09:03 UTC 2013 x86_64 x86_64
Alert Count                   1
First Seen                    2013-11-11 10:02:18 CST
Last Seen                     2013-11-11 10:02:18 CST
Local ID                      c3f9f6e9-ba6f-4f9c-aee3-269845447255

Raw Audit Messages
type=AVC msg=audit(1384185738.260:3851): avc:  denied  { unlink } for  pid=4454 comm="composite" name="magick9KWK1C" dev="dm-2" ino=6042891 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=file


type=SYSCALL msg=audit(1384185738.260:3851): arch=x86_64 syscall=unlink success=yes exit=0 a0=1efaaa0 a1=c2 a2=180 a3=7 items=0 ppid=4427 pid=4454 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=1 tty=(none) comm=composite exe=/usr/bin/composite subj=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 key=(null)

Hash: composite,thumb_t,user_home_dir_t,file,unlink

Additional info:
reporter:       libreport-2.1.9
hashmarkername: setroubleshoot
kernel:         3.11.7-200.fc19.x86_64
type:           libreport

Potential duplicate: bug 863727

Comment 1 Miroslav Grepl 2013-12-06 17:22:27 UTC
Try to execute

$ restorecon -R -v ~/


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