Additional info: libreport version: 2.0.13 kernel: 3.5.3-1.fc17.x86_64 description: :SELinux is preventing /usr/bin/shotwell-video-thumbnailer from 'write' accesses on the file /SYSVbabeface (deleted). : :***** Plugin restorecon (99.5 confidence) suggests ************************* : :If si desidera sistemare l'etichetta. :L'etichetta predefinita di /SYSVbabeface (deleted) dovrebbe essere etc_runtime_t. :Then è possibile avviare restorecon. :Do :# /sbin/restorecon -v /SYSVbabeface (deleted) : :***** Plugin catchall (1.49 confidence) suggests *************************** : :If si crede che shotwell-video-thumbnailer dovrebbe avere possibilità di accesso write sui SYSVbabeface (deleted) file in modo predefinito. :Then si dovrebbe riportare il problema come bug. :E' possibile generare un modulo di politica locale per consentire questo accesso. :Do :consentire questo accesso per il momento eseguendo: :# grep qtdemux0:sink /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:tmpfs_t:s0 :Target Objects /SYSVbabeface (deleted) [ file ] :Source qtdemux0:sink :Source Path /usr/bin/shotwell-video-thumbnailer :Port <Sconosciuto> :Host (removed) :Source RPM Packages shotwell-0.12.3-1.fc17.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-146.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.5.3-1.fc17.x86_64 #1 SMP Wed Aug : 29 18:46:34 UTC 2012 x86_64 x86_64 :Alert Count 9 :First Seen 2012-09-05 18:53:21 CEST :Last Seen 2012-09-05 18:53:33 CEST :Local ID 15b0bb75-1410-4754-b23b-fed3f43968d9 : :Raw Audit Messages :type=AVC msg=audit(1346864013.68:111): avc: denied { write } for pid=4255 comm="qtdemux0:sink" path=2F535953566261626566616365202864656C6574656429 dev="tmpfs" ino=8585269 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:tmpfs_t:s0 tclass=file : : :type=SYSCALL msg=audit(1346864013.68:111): arch=x86_64 syscall=shmat success=no exit=EACCES a0=830035 a1=0 a2=0 a3=219290c items=0 ppid=4134 pid=4255 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=1 comm=qtdemux0:sink exe=/usr/bin/shotwell-video-thumbnailer subj=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 key=(null) : :Hash: qtdemux0:sink,thumb_t,tmpfs_t,file,write : :audit2allow : :#============= thumb_t ============== :allow thumb_t tmpfs_t:file write; : :audit2allow -R : :#============= thumb_t ============== :allow thumb_t tmpfs_t:file write; :
Created attachment 610096 [details] File: type
Created attachment 610097 [details] File: hashmarkername
Have you had your machine in permissive mode? Are you still getting this issue?
I have allowed this access in F18. These are files that the kernel creates I believe which is why they are labeled tmpfs_t, and we can allow thumb_t to read write them but not open.
Add also to F17.
selinux-policy-3.10.0-150.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-150.fc17
Package selinux-policy-3.10.0-150.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-150.fc17' as soon as you are able to, then reboot. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-14725/selinux-policy-3.10.0-150.fc17 then log in and leave karma (feedback).
selinux-policy-3.10.0-153.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-153.fc17
selinux-policy-3.10.0-153.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.