Bug 2226703 - SELinux is preventing named from 'sqpoll' accesses on the io_uring labeled named_t.
Summary: SELinux is preventing named from 'sqpoll' accesses on the io_uring labeled na...
Keywords:
Status: CLOSED DUPLICATE of bug 2223725
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 38
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:e85d3992cc9fc5b97c086d24230...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-26 09:07 UTC by Juan Quintela
Modified: 2023-07-26 09:14 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-26 09:14:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (1.79 KB, text/plain)
2023-07-26 09:07 UTC, Juan Quintela
no flags Details
File: os_info (682 bytes, text/plain)
2023-07-26 09:07 UTC, Juan Quintela
no flags Details

Description Juan Quintela 2023-07-26 09:07:53 UTC
Description of problem:
SELinux is preventing named from 'sqpoll' accesses on the io_uring labeled named_t.

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

If you believe that named should be allowed sqpoll access on io_uring labeled named_t 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 'named' --raw | audit2allow -M my-named
# semodule -X 300 -i my-named.pp

Additional Information:
Source Context                system_u:system_r:named_t:s0
Target Context                system_u:system_r:named_t:s0
Target Objects                Unknown [ io_uring ]
Source                        named
Source Path                   named
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-38.21-1.fc38.noarch
Local Policy RPM              selinux-policy-targeted-38.21-1.fc38.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.3.12-200.fc38.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Thu Jul 6 04:05:18 UTC 2023 x86_64
Alert Count                   16
First Seen                    2023-07-26 11:04:38 CEST
Last Seen                     2023-07-26 11:04:38 CEST
Local ID                      2c3437f3-d99b-46d4-b621-8bdb43b812c6

Raw Audit Messages
type=AVC msg=audit(1690362278.964:367939): avc:  denied  { sqpoll } for  pid=3205199 comm="named" scontext=system_u:system_r:named_t:s0 tcontext=system_u:system_r:named_t:s0 tclass=io_uring permissive=0


Hash: named,named_t,named_t,io_uring,sqpoll

Version-Release number of selected component:
selinux-policy-targeted-38.21-1.fc38.noarch

Additional info:
reporter:       libreport-2.17.11
reason:         SELinux is preventing named from 'sqpoll' accesses on the io_uring labeled named_t.
package:        selinux-policy-targeted-38.21-1.fc38.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.3.12-200.fc38.x86_64
component:      selinux-policy

Comment 1 Juan Quintela 2023-07-26 09:07:55 UTC
Created attachment 1980047 [details]
File: description

Comment 2 Juan Quintela 2023-07-26 09:07:57 UTC
Created attachment 1980048 [details]
File: os_info

Comment 3 Zdenek Pytela 2023-07-26 09:14:24 UTC

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


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