Description of problem:
Happened after launch Waydroid
SELinux is preventing waydroid from 'execute' accesses on the file /usr/bin/systemctl.
***** Plugin catchall (100. confidence) suggests **************************
If you believe that waydroid should be allowed execute access on the systemctl file 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:object_r:systemd_systemctl_exec_t:s0
Target Objects /usr/bin/systemctl [ file ]
Source waydroid
Source Path waydroid
Port <Unknown>
Host (removed)
Source RPM Packages
Target RPM Packages systemd-254-1.fc39.x86_64
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 2
First Seen 2023-07-30 21:21:02 +05
Last Seen 2023-07-30 21:21:05 +05
Local ID 5020dc37-c133-4520-85cd-65838d937a0c
Raw Audit Messages
type=AVC msg=audit(1690734065.33:1482): avc: denied { execute } for pid=498588 comm="waydroid" name="systemctl" dev="nvme0n1p2" ino=66928444 scontext=system_u:system_r:waydroid_t:s0 tcontext=system_u:object_r:systemd_systemctl_exec_t:s0 tclass=file permissive=1
Hash: waydroid,waydroid_t,systemd_systemctl_exec_t,file,execute
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 'execute' accesses on the file /usr/bin/systemctl.
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: Happened after launch Waydroid
component: selinux-policy
Description of problem: Happened after launch Waydroid SELinux is preventing waydroid from 'execute' accesses on the file /usr/bin/systemctl. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that waydroid should be allowed execute access on the systemctl file 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:object_r:systemd_systemctl_exec_t:s0 Target Objects /usr/bin/systemctl [ file ] Source waydroid Source Path waydroid Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages systemd-254-1.fc39.x86_64 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 2 First Seen 2023-07-30 21:21:02 +05 Last Seen 2023-07-30 21:21:05 +05 Local ID 5020dc37-c133-4520-85cd-65838d937a0c Raw Audit Messages type=AVC msg=audit(1690734065.33:1482): avc: denied { execute } for pid=498588 comm="waydroid" name="systemctl" dev="nvme0n1p2" ino=66928444 scontext=system_u:system_r:waydroid_t:s0 tcontext=system_u:object_r:systemd_systemctl_exec_t:s0 tclass=file permissive=1 Hash: waydroid,waydroid_t,systemd_systemctl_exec_t,file,execute 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 'execute' accesses on the file /usr/bin/systemctl. 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: Happened after launch Waydroid component: selinux-policy