Additional info: libreport version: 2.0.18 kernel: 3.6.8-2.fc17.x86_64 description: :SELinux is preventing /usr/bin/totem-video-thumbnailer from 'write' accesses on the file /home/dongming/.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/dongming/.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.4.3-1.fc17.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-161.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.6.8-2.fc17.x86_64 #1 SMP Tue Nov : 27 19:35:02 UTC 2012 x86_64 x86_64 :Alert Count 81 :First Seen 2012-12-02 19:47:47 CST :Last Seen 2012-12-02 19:50:31 CST :Local ID 1504d118-c124-4006-87e6-9e062358377a : :Raw Audit Messages :type=AVC msg=audit(1354449031.417:323): avc: denied { write } for pid=9687 comm="totem-video-thu" path="/home/dongming/.config/banshee-1/log" dev="sda5" ino=4981953 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(1354449031.417:323): avc: denied { write } for pid=9687 comm="totem-video-thu" path="/home/dongming/.config/banshee-1/log" dev="sda5" ino=4981953 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(1354449031.417:323): arch=x86_64 syscall=execve success=yes exit=0 a0=7fa67c001260 a1=7fa67c001220 a2=7fffffc3d900 a3=1c items=0 ppid=7907 pid=9687 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=10 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; :
Created attachment 655931 [details] File: type
Does banshee close fd for /home/dongming/.config/banshee-1/log?
*** Bug 914971 has been marked as a duplicate of this bug. ***
(In reply to comment #2) > Does banshee close fd for /home/dongming/.config/banshee-1/log? Do you mean if it is closing file descriptor after each write? How could I check this?
Well I guess banshee is either intending to pass an open file descriptor to the thumbnailer as stdout/stderr, or it is accidental. If it is accedental, you should be executing fcntl(fd, FD_SETFD, FD_CLOEXEC) on any file descriptor you open in your code, or or open(PATH, FD_CLOEXEC);
This message is a reminder that Fedora 17 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 17. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '17'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 17's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 17 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior to Fedora 17's end of life. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed.