Bug 2214074 - SELinux is preventing key.dns_resolve from 'read' accesses on the key Sconosciuto.
Summary: SELinux is preventing key.dns_resolve from 'read' accesses on the key Sconosc...
Keywords:
Status: CLOSED DUPLICATE of bug 2214076
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:d1d4b73759b878bb0180adbffa5...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-11 16:50 UTC by Davide Repetto
Modified: 2023-06-12 10:33 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-06-12 10:33:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (1.95 KB, text/plain)
2023-06-11 16:50 UTC, Davide Repetto
no flags Details
File: os_info (709 bytes, text/plain)
2023-06-11 16:50 UTC, Davide Repetto
no flags Details

Description Davide Repetto 2023-06-11 16:50:40 UTC
Description of problem:
SELinux is preventing key.dns_resolve from 'read' accesses on the key Sconosciuto.

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

Se ci credi key.dns_resolve dovrebbe essere consentito read accesso al Sconosciuto key per impostazione predefinita.
Then si dovrebbe riportare il problema come bug.
E' possibile generare un modulo di politica locale per consentire questo accesso.
Do
consentire questo accesso per ora eseguendo:
# ausearch -c 'key.dns_resolve' --raw | audit2allow -M my-$MODULE_NOME
# semodule -X 300 -i miei-keydnsresolve.pp

Additional Information:
Source Context                system_u:system_r:keyutils_dns_resolver_t:s0
Target Context                system_u:system_r:kernel_t:s0
Target Objects                Sconosciuto [ key ]
Source                        key.dns_resolve
Source Path                   key.dns_resolve
Port                          <Sconosciuto>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-38.15-1.fc38.noarch
Local Policy RPM              selinux-policy-targeted-38.15-1.fc38.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 6.3.6-200.fc38.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Mon Jun 5 15:45:04 UTC 2023 x86_64
Alert Count                   1
First Seen                    2023-06-11 18:48:55 CEST
Last Seen                     2023-06-11 18:48:55 CEST
Local ID                      d822904b-85de-425c-8ce0-6b22525c756c

Raw Audit Messages
type=AVC msg=audit(1686502135.330:246): avc:  denied  { read } for  pid=3276 comm="key.dns_resolve" scontext=system_u:system_r:keyutils_dns_resolver_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=key permissive=1


Hash: key.dns_resolve,keyutils_dns_resolver_t,kernel_t,key,read

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

Additional info:
reporter:       libreport-2.17.10
reason:         SELinux is preventing key.dns_resolve from 'read' accesses on the key Sconosciuto.
package:        selinux-policy-targeted-38.15-1.fc38.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.3.6-200.fc38.x86_64
component:      selinux-policy

Comment 1 Davide Repetto 2023-06-11 16:50:46 UTC
Created attachment 1970306 [details]
File: description

Comment 2 Davide Repetto 2023-06-11 16:50:51 UTC
Created attachment 1970307 [details]
File: os_info

Comment 3 Zdenek Pytela 2023-06-12 10:33:16 UTC

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


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