Bug 1788210 - SELinux is preventing ftsprhvd from 'create' accesses on the sock_file 24444.
Summary: SELinux is preventing ftsprhvd from 'create' accesses on the sock_file 24444.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 30
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:2315dfa0b1d9771f91375713767...
: 1791380 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-06 17:32 UTC by Frank Büttner
Modified: 2020-01-31 01:12 UTC (History)
6 users (show)

Fixed In Version: selinux-policy-3.14.3-55.fc30
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-31 01:12:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Frank Büttner 2020-01-06 17:32:30 UTC
Description of problem:
Let vmware horizon client version 5.3 run
SELinux is preventing ftsprhvd from 'create' accesses on the sock_file 24444.

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

Wenn Sie denken, dass es ftsprhvd standardmäßig erlaubt sein sollte, create Zugriff auf 24444 sock_file zu erhalten.
Then sie sollten dies als Fehler melden.
Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen.
Do
zugriff jetzt erlauben, indem Sie die nachfolgenden Befehle ausführen:
# ausearch -c 'ftsprhvd' --raw | audit2allow -M my-ftsprhvd
# semodule -X 300 -i my-ftsprhvd.pp

Additional Information:
Source Context                system_u:system_r:init_t:s0
Target Context                system_u:object_r:tmp_t:s0
Target Objects                24444 [ sock_file ]
Source                        ftsprhvd
Source Path                   ftsprhvd
Port                          <Unbekannt>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.3-53.fc30.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 5.4.7-100.fc30.x86_64 #1 SMP Wed
                              Jan 1 01:37:52 UTC 2020 x86_64 x86_64
Alert Count                   107
First Seen                    2020-01-06 18:29:22 CET
Last Seen                     2020-01-06 18:30:43 CET
Local ID                      aeeed09c-cab6-466f-b63e-0847d1f62278

Raw Audit Messages
type=AVC msg=audit(1578331843.956:1336): avc:  denied  { create } for  pid=3943 comm="ftscanhvd" name="24444" scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:tmp_t:s0 tclass=sock_file permissive=0


Hash: ftsprhvd,init_t,tmp_t,sock_file,create

Version-Release number of selected component:
selinux-policy-3.14.3-53.fc30.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.11.3
hashmarkername: setroubleshoot
kernel:         5.4.7-100.fc30.x86_64
type:           libreport

Comment 1 Lukas Vrabec 2020-01-10 13:52:10 UTC
commit b169ed68eafa6e5ce675629d8ff21ded5f645107 (HEAD -> rawhide)
Author: Lukas Vrabec <lvrabec>
Date:   Fri Jan 10 14:50:08 2020 +0100

    Allow init_t domain to create own socket files in /tmp
    
    Resolves: rhbz#1788210

Comment 2 Fedora Update System 2020-01-14 02:48:21 UTC
selinux-policy-3.14.3-55.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-384545235e

Comment 3 Lukas Vrabec 2020-01-16 19:14:26 UTC
*** Bug 1791380 has been marked as a duplicate of this bug. ***

Comment 4 Fedora Admin XMLRPC Client 2020-01-23 16:23:49 UTC
This package has changed maintainer in the Fedora.
Reassigning to the new maintainer of this component.

Comment 5 Fedora Update System 2020-01-31 01:12:16 UTC
selinux-policy-3.14.3-55.fc30 has been pushed to the Fedora 30 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.