Bug 2090800

Summary: SELinux is preventing ss from nlmsg_read access on the netlink_tcpdiag_socket labeled ctdbd_t
Product: Red Hat Enterprise Linux 8 Reporter: Shane Bradley <sbradley>
Component: selinux-policyAssignee: Zdenek Pytela <zpytela>
Status: CLOSED ERRATA QA Contact: Milos Malik <mmalik>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.7CC: lvrabec, mmalik, ssekidde
Target Milestone: rcKeywords: Triaged
Target Release: 8.7Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: selinux-policy-3.14.3-100.el8 Doc Type: Bug Fix
Doc Text:
Cause: selinux-policy does not contain the nlmsg_read permission on netlink_tcpdiag_socket for ctdbd Consequence: When ctdbd shuts down, it fails to execute ss to read tcp diagnostics. Fix: Allow ctdbd the nlmsg_read permission on netlink_tcpdiag_socket Result: On ctdbd shut down, calling ss to read tcp diagnostics is successful.
Story Points: ---
Clone Of:
: 2094489 (view as bug list) Environment:
Last Closed: 2022-11-08 10:44:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 1 Zdenek Pytela 2022-06-06 13:14:46 UTC
To backport:
commit d566a10e28648831f2f350867658debc976b4a22 (HEAD -> rawhide, upstream/rawhide)
Author: Zdenek Pytela <zpytela>
Date:   Thu Jun 2 14:24:08 2022 +0200

    Allow ctdbd nlmsg_read on netlink_tcpdiag_socket

Comment 11 errata-xmlrpc 2022-11-08 10:44:16 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (selinux-policy bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:7691