Description of problem: reading thumbnails on a GVFS smb share Additional info: libreport version: 2.0.18 kernel: 3.6.6-1.fc17.x86_64 description: :SELinux is preventing /usr/bin/totem-video-thumbnailer from 'setattr' accesses on the directory at-spi2. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that totem-video-thumbnailer should be allowed setattr access on the at-spi2 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 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:user_tmp_t:s0 :Target Objects at-spi2 [ dir ] :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 Permissive :Host Name (removed) :Platform Linux (removed) 3.6.6-1.fc17.x86_64 #1 SMP Mon Nov : 5 21:59:35 UTC 2012 x86_64 x86_64 :Alert Count 3 :First Seen 2012-11-24 23:54:37 MST :Last Seen 2012-11-24 23:55:15 MST :Local ID d5e195f5-9dc3-43ed-b014-b58a38d85a44 : :Raw Audit Messages :type=AVC msg=audit(1353826515.627:865): avc: denied { setattr } for pid=9286 comm="totem-video-thu" name="at-spi2" dev="tmpfs" ino=22157 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=dir : : :type=SYSCALL msg=audit(1353826515.627:865): arch=x86_64 syscall=chmod success=yes exit=0 a0=7fa3d6b86761 a1=3ff a2=11 a3=7fffaea53f20 items=0 ppid=25305 pid=9286 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=1 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,user_tmp_t,dir,setattr : :audit2allow : :#============= thumb_t ============== :allow thumb_t user_tmp_t:dir setattr; : :audit2allow -R : :#============= thumb_t ============== :allow thumb_t user_tmp_t:dir setattr; :
Created attachment 651400 [details] File: type
Created attachment 651401 [details] File: hashmarkername
Benjamin, do you know what you were doing? Are you able to reproduce it? I would like to reproduce this issue.
*** Bug 879980 has been marked as a duplicate of this bug. ***
Added a dontaudit for this. I don't believe this will cause any problems. Fixed in selinux-policy-3.11.1-57.fc18.noarch
Steps to reproduce: - install plugin for nautilus to display thumbnails of raw photo files (olympus ORF format) - open folder with nautils with stored .orf files Package: (null) OS Release: Fedora release 17 (Beefy Miracle)
selinux-policy-3.10.0-165.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-165.fc17
Package selinux-policy-3.10.0-165.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-165.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-20544/selinux-policy-3.10.0-165.fc17 then log in and leave karma (feedback).
Since the update I haven't got any negative SE events on totem's behalf. Looks like fixed. Thanks.
Thank you for testing.
Package selinux-policy-3.10.0-166.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-166.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-20544/selinux-policy-3.10.0-166.fc17 then log in and leave karma (feedback).
selinux-policy-3.10.0-166.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.