Description of problem: SELinux is preventing key.dns_resolve from 'map' accesses on the file /usr/sbin/key.dns_resolver. ***** Plugin catchall_boolean (89.3 confidence) suggests ****************** Se lo desidera allow domain to can mmap files Then รจ necessario informare SELinux abilitando il booleano 'domain_can_mmap_files' . Do setsebool -P domain_can_mmap_files 1 ***** Plugin catchall (11.6 confidence) suggests ************************** Se ci credi key.dns_resolve dovrebbe essere consentito map 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 '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:object_r:keyutils_dns_resolver_exec_t:s0 Target Objects /usr/sbin/key.dns_resolver [ file ] Source key.dns_resolve Source Path key.dns_resolve 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 4b566835-f9c9-4700-9294-b394b9c999f4 Raw Audit Messages type=AVC msg=audit(1686502135.328:242): avc: denied { map } for pid=3276 comm="key.dns_resolve" 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: key.dns_resolve,keyutils_dns_resolver_t,keyutils_dns_resolver_exec_t,file,map 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 'map' 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
Created attachment 1970312 [details] File: description
Created attachment 1970313 [details] File: os_info
*** This bug has been marked as a duplicate of bug 2212007 ***