Bug 2048076 - SELinux is preventing gst-plugin-scan from 'write' accesses on the sock_file bus.
Summary: SELinux is preventing gst-plugin-scan from 'write' accesses on the sock_file ...
Status: CLOSED DUPLICATE of bug 2042696
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 35
Hardware: x86_64
OS: Unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
Whiteboard: abrt_hash:7015065dc5109ddb89cc007e2cf...
Depends On:
TreeView+ depends on / blocked
Reported: 2022-01-29 11:42 UTC by abrahao_rj
Modified: 2022-01-31 11:52 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2022-01-31 11:52:19 UTC
Type: ---

Attachments (Terms of Use)

Description abrahao_rj 2022-01-29 11:42:04 UTC
Description of problem:
SELinux is preventing gst-plugin-scan from 'write' accesses on the sock_file bus.

*****  Plugin catchall (100. confidence) suggests   **************************

Se você acredita nisso gst-plugin-scan deve ser permitido write acesso no bus sock_file por padrão.
Then você deve informar que este é um erro.
Você pode gerar um módulo de política local para permitir este acesso.
permitir este acesso por agora executando:
# ausearch -c 'gst-plugin-scan' --raw | audit2allow -M my-gstpluginscan
# semodule -X 300 -i my-gstpluginscan.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023
Target Context                unconfined_u:object_r:session_dbusd_tmp_t:s0
Target Objects                bus [ sock_file ]
Source                        gst-plugin-scan
Source Path                   gst-plugin-scan
Port                          <Desconhecido>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-35.11-1.fc35.noarch
Local Policy RPM              selinux-policy-targeted-35.11-1.fc35.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 5.15.16-200.fc35.x86_64 #1 SMP Thu
                              Jan 20 15:38:18 UTC 2022 x86_64 x86_64
Alert Count                   11
First Seen                    2022-01-28 21:50:01 -03
Last Seen                     2022-01-28 21:50:19 -03
Local ID                      31a5e34a-44c1-4910-a78f-51b25814f7d6

Raw Audit Messages
type=AVC msg=audit(1643417419.189:323): avc:  denied  { write } for  pid=15279 comm="totem-video-thu" name="bus" dev="tmpfs" ino=78 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:session_dbusd_tmp_t:s0 tclass=sock_file permissive=0

Hash: gst-plugin-scan,thumb_t,session_dbusd_tmp_t,sock_file,write

Version-Release number of selected component:

Additional info:
component:      selinux-policy
reporter:       libreport-2.15.2
hashmarkername: setroubleshoot
kernel:         5.15.16-200.fc35.x86_64
type:           libreport

Comment 1 Zdenek Pytela 2022-01-31 11:52:19 UTC

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

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