Bug 2214081 - SELinux is preventing request-key from 'entrypoint' accesses on the file /usr/sbin/key.dns_resolver.
Summary: SELinux is preventing request-key from 'entrypoint' accesses on the file /usr...
Keywords:
Status: CLOSED DUPLICATE of bug 2182643
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:005324c49f69dbdf6788b59aae5...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-11 16:54 UTC by Davide Repetto
Modified: 2023-06-19 14:54 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-06-19 14:54:43 UTC
Type: ---
Embargoed:


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

Description Davide Repetto 2023-06-11 16:54:20 UTC
Description of problem:
SELinux is preventing request-key from 'entrypoint' accesses on the file /usr/sbin/key.dns_resolver.

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

Se ci credi request-key dovrebbe essere consentito entrypoint accesso al key.dns_resolver file 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 'request-key' --raw | audit2allow -M my-$MODULE_NOME
# semodule -X 300 -i miei-requestkey.pp

Additional Information:
Source Context                system_u:system_r:keyutils_dns_resolver_t:s0
Target Context                system_u:object_r:keyutils_dns_resolver_exec_t:s0
Target Objects                /usr/sbin/key.dns_resolver [ file ]
Source                        request-key
Source Path                   request-key
Port                          <Sconosciuto>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           keyutils-1.6.1-6.fc38.x86_64
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                      a0be96a2-838a-4b35-b535-5eafadb5da5c

Raw Audit Messages
type=AVC msg=audit(1686502135.326:241): avc:  denied  { entrypoint } for  pid=3276 comm="request-key" path="/usr/sbin/key.dns_resolver" dev="sde4" ino=12367621 scontext=system_u:system_r:keyutils_dns_resolver_t:s0 tcontext=system_u:object_r:keyutils_dns_resolver_exec_t:s0 tclass=file permissive=1


Hash: request-key,keyutils_dns_resolver_t,keyutils_dns_resolver_exec_t,file,entrypoint

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 request-key from 'entrypoint' accesses on the file /usr/sbin/key.dns_resolver.
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:54:23 UTC
Created attachment 1970318 [details]
File: description

Comment 2 Davide Repetto 2023-06-11 16:54:25 UTC
Created attachment 1970319 [details]
File: os_info

Comment 3 Zdenek Pytela 2023-06-19 14:54:43 UTC

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


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