Bug 2231341 - SELinux is preventing key.dns_resolve from 'create' accesses on the unix_dgram_socket Unbekannt.
Summary: SELinux is preventing key.dns_resolve from 'create' accesses on the unix_dgra...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 38
Hardware: x86_64
OS: Unspecified
medium
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:88d7921a952b16eceac0475ef7b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-11 09:45 UTC by Julian Sikorski
Modified: 2023-09-06 01:19 UTC (History)
9 users (show)

Fixed In Version: selinux-policy-38.27-1.fc38
Clone Of:
Environment:
Last Closed: 2023-09-06 01:19:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (2.08 KB, text/plain)
2023-08-11 09:45 UTC, Julian Sikorski
no flags Details
File: os_info (734 bytes, text/plain)
2023-08-11 09:45 UTC, Julian Sikorski
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github fedora-selinux selinux-policy pull 1832 0 None open Allow key.dns_resolve create and use unix datagram socket 2023-08-11 10:02:19 UTC

Description Julian Sikorski 2023-08-11 09:45:13 UTC
Description of problem:
SELinux is preventing key.dns_resolve from 'create' accesses on the unix_dgram_socket Unbekannt.

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

Wenn Sie denken, dass es key.dns_resolve standardmäßig erlaubt sein sollte, create Zugriff auf Unbekannt unix_dgram_socket 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 'key.dns_resolve' --raw | audit2allow -M my-keydnsresolve
# semodule -X 300 -i my-keydnsresolve.pp

Additional Information:
Source Context                system_u:system_r:keyutils_dns_resolver_t:s0
Target Context                system_u:system_r:keyutils_dns_resolver_t:s0
Target Objects                Unbekannt [ unix_dgram_socket ]
Source                        key.dns_resolve
Source Path                   key.dns_resolve
Port                          <Unbekannt>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-38.22-1.fc38.noarch
Local Policy RPM              selinux-policy-targeted-38.22-1.fc38.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.4.9-200.fc38.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Tue Aug 8 21:21:11 UTC 2023 x86_64
Alert Count                   18
First Seen                    2023-07-04 16:34:13 CEST
Last Seen                     2023-08-11 11:44:04 CEST
Local ID                      86c025ca-c535-46e3-a05c-42babc396660

Raw Audit Messages
type=AVC msg=audit(1691747044.496:582): avc:  denied  { create } for  pid=95403 comm="key.dns_resolve" scontext=system_u:system_r:keyutils_dns_resolver_t:s0 tcontext=system_u:system_r:keyutils_dns_resolver_t:s0 tclass=unix_dgram_socket permissive=0


Hash: key.dns_resolve,keyutils_dns_resolver_t,keyutils_dns_resolver_t,unix_dgram_socket,create

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

Additional info:
reporter:       libreport-2.17.11
reason:         SELinux is preventing key.dns_resolve from 'create' accesses on the unix_dgram_socket Unbekannt.
package:        selinux-policy-targeted-38.22-1.fc38.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.4.9-200.fc38.x86_64
component:      selinux-policy

Comment 1 Julian Sikorski 2023-08-11 09:45:16 UTC
Created attachment 1982962 [details]
File: description

Comment 2 Julian Sikorski 2023-08-11 09:45:17 UTC
Created attachment 1982963 [details]
File: os_info

Comment 3 Fedora Update System 2023-09-04 10:41:43 UTC
FEDORA-2023-7d46bd4184 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-7d46bd4184

Comment 4 Fedora Update System 2023-09-05 02:22:21 UTC
FEDORA-2023-7d46bd4184 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-7d46bd4184`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-7d46bd4184

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

Comment 5 Fedora Update System 2023-09-06 01:19:50 UTC
FEDORA-2023-7d46bd4184 has been pushed to the Fedora 38 stable repository.
If problem still persists, 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.