Description of problem: This AVC happened while playing around with Virtual machine magager. SELinux is preventing ip from 'module_request' accesses on the system Sconosciuto. ***** Plugin catchall_boolean (89.3 confidence) suggests ****************** Se lo desidera allow domain to kernel load modules Then รจ necessario informare SELinux abilitando il booleano 'domain_kernel_load_modules' . Do setsebool -P domain_kernel_load_modules 1 ***** Plugin catchall (11.6 confidence) suggests ************************** Se ci credi ip dovrebbe essere consentito module_request accesso al Sconosciuto system 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 'ip' --raw | audit2allow -M my-$MODULE_NOME # semodule -X 300 -i miei-ip.pp Additional Information: Source Context system_u:system_r:NetworkManager_dispatcher_ddclie nt_t:s0 Target Context system_u:system_r:kernel_t:s0 Target Objects Sconosciuto [ system ] Source ip Source Path ip Port <Sconosciuto> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-36.14-1.fc36.noarch Local Policy RPM selinux-policy-targeted-36.14-1.fc36.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 5.19.7-200.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Sep 5 14:50:12 UTC 2022 x86_64 x86_64 Alert Count 1 First Seen 2022-09-10 21:16:38 CEST Last Seen 2022-09-10 21:16:38 CEST Local ID 9d8fc52b-81b4-4483-b17b-247d28ad1bc1 Raw Audit Messages type=AVC msg=audit(1662837398.503:514): avc: denied { module_request } for pid=48108 comm="ip" kmod="netdev-vnet0" scontext=system_u:system_r:NetworkManager_dispatcher_ddclient_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=system permissive=1 Hash: ip,NetworkManager_dispatcher_ddclient_t,kernel_t,system,module_request Version-Release number of selected component: selinux-policy-targeted-36.14-1.fc36.noarch Additional info: component: selinux-policy reporter: libreport-2.17.2 hashmarkername: setroubleshoot kernel: 5.19.7-200.fc36.x86_64 type: libreport
Davide, Do you happen to know which module was requested to load?
Dear Zdenek, unfortunately not. :(
Ok, draft PR merged.
FEDORA-2022-e7d50924ec has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-e7d50924ec
FEDORA-2022-e7d50924ec has been pushed to the Fedora 36 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-e7d50924ec` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-e7d50924ec See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-e7d50924ec has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.