Description of problem:
Happens when I start Waydroid
SELinux is preventing waydroid from 'module_request' accesses on the system labeled kernel_t.
***** Plugin catchall_boolean (89.3 confidence) suggests ******************
If you want to allow domain to kernel load modules
Then you must tell SELinux about this by enabling the 'domain_kernel_load_modules' boolean.
Do
setsebool -P domain_kernel_load_modules 1
***** Plugin catchall (11.6 confidence) suggests **************************
If you believe that waydroid should be allowed module_request access on system labeled kernel_t by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# ausearch -c 'waydroid' --raw | audit2allow -M my-waydroid
# semodule -X 300 -i my-waydroid.pp
Additional Information:
Source Context system_u:system_r:waydroid_t:s0
Target Context system_u:system_r:kernel_t:s0
Target Objects Unknown [ system ]
Source waydroid
Source Path waydroid
Port <Unknown>
Host (removed)
Source RPM Packages
Target RPM Packages
SELinux Policy RPM selinux-policy-targeted-38.22-1.fc39.noarch
Local Policy RPM
Selinux Enabled True
Policy Type targeted
Enforcing Mode Permissive
Host Name (removed)
Platform Linux (removed) 6.5.0-
0.rc3.20230728git57012c57536f.27.fc39.x86_64+debug
#1 SMP PREEMPT_DYNAMIC Fri Jul 28 19:18:00 +05
2023 x86_64
Alert Count 1
First Seen 2023-07-30 20:40:47 +05
Last Seen 2023-07-30 20:40:47 +05
Local ID 48db03a0-486f-4362-a6fa-f871100a6b21
Raw Audit Messages
type=AVC msg=audit(1690731647.60:1446): avc: denied { module_request } for pid=499731 comm="waydroid" kmod="tcp-ulp-tls" scontext=system_u:system_r:waydroid_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=system permissive=1
Hash: waydroid,waydroid_t,kernel_t,system,module_request
Version-Release number of selected component:
selinux-policy-targeted-38.22-1.fc39.noarch
Additional info:
reporter: libreport-2.17.11
reason: SELinux is preventing waydroid from 'module_request' accesses on the system labeled kernel_t.
package: selinux-policy-targeted-38.22-1.fc39.noarch
component: selinux-policy
hashmarkername: setroubleshoot
type: libreport
kernel: 6.5.0-0.rc3.20230728git57012c57536f.27.fc39.x86_64+debug
comment: Happens when I start Waydroid
component: selinux-policy
Description of problem: Happens when I start Waydroid SELinux is preventing waydroid from 'module_request' accesses on the system labeled kernel_t. ***** Plugin catchall_boolean (89.3 confidence) suggests ****************** If you want to allow domain to kernel load modules Then you must tell SELinux about this by enabling the 'domain_kernel_load_modules' boolean. Do setsebool -P domain_kernel_load_modules 1 ***** Plugin catchall (11.6 confidence) suggests ************************** If you believe that waydroid should be allowed module_request access on system labeled kernel_t by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # ausearch -c 'waydroid' --raw | audit2allow -M my-waydroid # semodule -X 300 -i my-waydroid.pp Additional Information: Source Context system_u:system_r:waydroid_t:s0 Target Context system_u:system_r:kernel_t:s0 Target Objects Unknown [ system ] Source waydroid Source Path waydroid Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-38.22-1.fc39.noarch Local Policy RPM Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 6.5.0- 0.rc3.20230728git57012c57536f.27.fc39.x86_64+debug #1 SMP PREEMPT_DYNAMIC Fri Jul 28 19:18:00 +05 2023 x86_64 Alert Count 1 First Seen 2023-07-30 20:40:47 +05 Last Seen 2023-07-30 20:40:47 +05 Local ID 48db03a0-486f-4362-a6fa-f871100a6b21 Raw Audit Messages type=AVC msg=audit(1690731647.60:1446): avc: denied { module_request } for pid=499731 comm="waydroid" kmod="tcp-ulp-tls" scontext=system_u:system_r:waydroid_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=system permissive=1 Hash: waydroid,waydroid_t,kernel_t,system,module_request Version-Release number of selected component: selinux-policy-targeted-38.22-1.fc39.noarch Additional info: reporter: libreport-2.17.11 reason: SELinux is preventing waydroid from 'module_request' accesses on the system labeled kernel_t. package: selinux-policy-targeted-38.22-1.fc39.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.5.0-0.rc3.20230728git57012c57536f.27.fc39.x86_64+debug comment: Happens when I start Waydroid component: selinux-policy