Bug 994178 - SELinux is preventing /usr/bin/totem-video-thumbnailer from 'append' accesses on the unix_stream_socket unix_stream_socket.
Summary: SELinux is preventing /usr/bin/totem-video-thumbnailer from 'append' accesses...
Keywords:
Status: CLOSED ERRATA
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:3cf8b86c417e86f056155aadb95...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-06 16:28 UTC by Cysioland
Modified: 2013-08-22 00:53 UTC (History)
10 users (show)

Fixed In Version: selinux-policy-3.12.1-71.fc19
Clone Of:
Environment:
Last Closed: 2013-08-22 00:53:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Cysioland 2013-08-06 16:28:57 UTC
Description of problem:
SELinux is preventing /usr/bin/totem-video-thumbnailer from 'append' accesses on the unix_stream_socket unix_stream_socket.

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

If należy zignorować próbę dostępu totem-video-thumbnailer append do unix_stream_socket unix_stream_socket, ponieważ nie powinno to wymagać tego dostępu.
Then należy zgłosić to jako błąd. 
Można utworzyć lokalny moduł polityki, aby zabronić ten dostęp.
Do
# grep /usr/bin/totem-video-thumbnailer /var/log/audit/audit.log | audit2allow -D -M mojapolityka
# semodule -i mojapolityka.pp

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

If aby totem-video-thumbnailer powinno mieć domyślnie append dostęp do unix_stream_socket unix_stream_socket.
Then proszę to zgłosić jako błąd.
Można utworzyć lokalny moduł polityki, aby umożliwić ten dostęp.
Do
można tymczasowo zezwolić na ten dostęp wykonując polecenia:
# grep totem-video-thu /var/log/audit/audit.log | audit2allow -M mojapolityka
# semodule -i mojapolityka.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023
Target Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
                              023
Target Objects                unix_stream_socket [ unix_stream_socket ]
Source                        totem-video-thu
Source Path                   /usr/bin/totem-video-thumbnailer
Port                          <Nieznane>
Host                          (removed)
Source RPM Packages           totem-3.8.2-1.fc19.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-69.fc19.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.10.4-300.fc19.x86_64 #1 SMP Tue
                              Jul 30 11:29:05 UTC 2013 x86_64 x86_64
Alert Count                   1
First Seen                    2013-08-06 18:14:40 CEST
Last Seen                     2013-08-06 18:14:40 CEST
Local ID                      d58ebac0-0b14-41cc-bebe-3bc5919f54b4

Raw Audit Messages
type=AVC msg=audit(1375805680.40:496): avc:  denied  { append } for  pid=3887 comm="totem-video-thu" path="socket:[27100]" dev="sockfs" ino=27100 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=unix_stream_socket


type=AVC msg=audit(1375805680.40:496): avc:  denied  { append } for  pid=3887 comm="totem-video-thu" path="socket:[27100]" dev="sockfs" ino=27100 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=unix_stream_socket


type=SYSCALL msg=audit(1375805680.40:496): arch=x86_64 syscall=execve success=yes exit=0 a0=7f95e026dc00 a1=7f95e03929c0 a2=7fff2669b638 a3=22 items=0 ppid=3477 pid=3887 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,unconfined_t,unix_stream_socket,append

Additional info:
reporter:       libreport-2.1.6
hashmarkername: setroubleshoot
kernel:         3.10.4-300.fc19.x86_64
type:           libreport

Comment 1 Ondra Pelech 2013-08-06 22:05:46 UTC
Description of problem:
nautilus is open, in the ~/Downloads directory
downloading movie finishes and the finished movie file is moved into the ~/Downloads directory
totem succesfully make a thumbnail for it

Additional info:
reporter:       libreport-2.1.6
hashmarkername: setroubleshoot
kernel:         3.10.4-300.fc19.x86_64
type:           libreport

Comment 2 Daniel Walsh 2013-08-07 18:11:21 UTC
1e7df10d9d4d31e4f2f877aee72fdc0f8287403d fixes this in git.

Comment 3 Miroslav Grepl 2013-08-08 12:02:03 UTC
back ported.

Comment 4 Jonathan Gazeley 2013-08-09 17:54:33 UTC
Description of problem:
Using Shotwell to import photos and videos from an SD card - SELinux blocks access for generating video thumbnails

Additional info:
reporter:       libreport-2.1.6
hashmarkername: setroubleshoot
kernel:         3.10.4-300.fc19.x86_64
type:           libreport

Comment 5 Fedora Update System 2013-08-20 08:26:19 UTC
selinux-policy-3.12.1-71.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-71.fc19

Comment 6 Fedora Update System 2013-08-21 00:15:23 UTC
Package selinux-policy-3.12.1-71.fc19:
* should fix your issue,
* was pushed to the Fedora 19 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.12.1-71.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-15088/selinux-policy-3.12.1-71.fc19
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2013-08-22 00:53:15 UTC
selinux-policy-3.12.1-71.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


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