Bug 2077644

Summary: SELinux is preventing 99tlp-rdw-nm from 'append' accesses on the unix_stream_socket unix_stream_socket.
Product: [Fedora] Fedora Reporter: Michael <michael.scheiffler>
Component: selinux-policyAssignee: Zdenek Pytela <zpytela>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 36CC: dwalsh, grepl.miroslav, lvrabec, mmalik, omosnace, pkoncity, vmojzis, zpytela
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:f8a1988bc45fcffbb1f3ff30ffd29bc0f49fe40d72f6bdf1cfce887b70cbfef0;VARIANT_ID=workstation;
Fixed In Version: selinux-policy-36.8-1.fc36 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-02 19:43:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michael 2022-04-21 19:29:40 UTC
Description of problem:
SELinux is preventing 99tlp-rdw-nm from 'append' accesses on the unix_stream_socket unix_stream_socket.

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

If you believe that 99tlp-rdw-nm should be allowed append access on the unix_stream_socket unix_stream_socket 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:
# ausearch -c '99tlp-rdw-nm' --raw | audit2allow -M my-99tlprdwnm
# semodule -X 300 -i my-99tlprdwnm.pp

Additional Information:
Source Context                system_u:system_r:NetworkManager_dispatcher_tlp_t:
                              s0
Target Context                system_u:system_r:init_t:s0
Target Objects                unix_stream_socket [ unix_stream_socket ]
Source                        99tlp-rdw-nm
Source Path                   99tlp-rdw-nm
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-36.7-1.fc36.noarch
Local Policy RPM              selinux-policy-targeted-36.7-1.fc36.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 5.16.16-200.fc35.x86_64 #1 SMP
                              PREEMPT Wed Mar 23 00:44:58 CET 2022 x86_64 x86_64
Alert Count                   5
First Seen                    2022-04-21 21:27:30 CEST
Last Seen                     2022-04-21 21:27:31 CEST
Local ID                      84b22406-67e8-43bf-931a-aacd1c3d7dc4

Raw Audit Messages
type=AVC msg=audit(1650569251.733:343): avc:  denied  { append } for  pid=2997 comm="99tlp-rdw-nm" path="socket:[26555]" dev="sockfs" ino=26555 scontext=system_u:system_r:NetworkManager_dispatcher_tlp_t:s0 tcontext=system_u:system_r:init_t:s0 tclass=unix_stream_socket permissive=1


Hash: 99tlp-rdw-nm,NetworkManager_dispatcher_tlp_t,init_t,unix_stream_socket,append

Version-Release number of selected component:
selinux-policy-targeted-36.7-1.fc36.noarch

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

Comment 1 Fedora Update System 2022-04-27 08:00:49 UTC
FEDORA-2022-47789bbc9d has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-47789bbc9d

Comment 2 Fedora Update System 2022-04-28 05:11:12 UTC
FEDORA-2022-47789bbc9d has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-47789bbc9d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-47789bbc9d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2022-05-02 19:43:26 UTC
FEDORA-2022-47789bbc9d has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.