Bug 914971 - SELinux is preventing /usr/bin/totem-video-thumbnailer from 'write' accesses on the file /home/zlatin/.config/banshee-1/log.
Summary: SELinux is preventing /usr/bin/totem-video-thumbnailer from 'write' accesses ...
Keywords:
Status: CLOSED DUPLICATE of bug 882628
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:e78bd7b2138638981287a2999da...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-23 19:53 UTC by Maxim
Modified: 2013-02-25 12:47 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-02-25 12:47:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Maxim 2013-02-23 19:53:47 UTC
Description of problem:
SELinux is preventing /usr/bin/totem-video-thumbnailer from 'write' accesses on the file /home/zlatin/.config/banshee-1/log.

*****  Plugin leaks (86.2 confidence) suggests  ******************************

If you want to ignore totem-video-thumbnailer trying to write access the log file, because you believe it should not need this access.
Then you should report this as a bug.  
You can generate a local policy module to dontaudit this access.
Do
# grep /usr/bin/totem-video-thumbnailer /var/log/audit/audit.log | audit2allow -D -M mypol
# semodule -i mypol.pp

*****  Plugin catchall (14.7 confidence) suggests  ***************************

If you believe that totem-video-thumbnailer should be allowed write access on the log 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 totem-video-thu /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:config_home_t:s0
Target Objects                /home/zlatin/.config/banshee-1/log [ file ]
Source                        totem-video-thu
Source Path                   /usr/bin/totem-video-thumbnailer
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           totem-3.6.3-2.fc18.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.11.1-79.fc18.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.7.9-201.fc18.x86_64 #1 SMP Mon
                              Feb 18 21:07:56 UTC 2013 x86_64 x86_64
Alert Count                   1
First Seen                    2013-02-23 21:52:21 EET
Last Seen                     2013-02-23 21:52:21 EET
Local ID                      514bc4c7-858e-4c20-991a-11016a6597cc

Raw Audit Messages
type=AVC msg=audit(1361649141.382:417): avc:  denied  { write } for  pid=5913 comm="totem-video-thu" path="/home/zlatin/.config/banshee-1/log" dev="dm-2" ino=524437 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:config_home_t:s0 tclass=file


type=AVC msg=audit(1361649141.382:417): avc:  denied  { write } for  pid=5913 comm="totem-video-thu" path="/home/zlatin/.config/banshee-1/log" dev="dm-2" ino=524437 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:config_home_t:s0 tclass=file


type=SYSCALL msg=audit(1361649141.382:417): arch=x86_64 syscall=execve success=yes exit=0 a0=7f9340012690 a1=7f934000d380 a2=7fff4f286e10 a3=19 items=0 ppid=5898 pid=5913 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=2 tty=(none) comm=totem-video-thu exe=/usr/bin/totem-video-thumbnailer subj=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 key=(null)

Hash: totem-video-thu,thumb_t,config_home_t,file,write

audit2allow

#============= thumb_t ==============
allow thumb_t config_home_t:file write;

audit2allow -R

#============= thumb_t ==============
allow thumb_t config_home_t:file write;


Additional info:
hashmarkername: setroubleshoot
kernel:         3.7.9-201.fc18.x86_64
type:           libreport

Potential duplicate: bug 882628

Comment 1 Miroslav Grepl 2013-02-25 12:47:44 UTC

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


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