From 07b00dbf087f2234539bcd00f2ccf2e5cda26c3e Mon Sep 17 00:00:00 2001 From: Sam Hadow Date: Sat, 21 Feb 2026 16:21:33 +0100 Subject: [PATCH] waydroid SELinux update --- ...5-archlinux-waydroid-installation-guide.md | 27 ++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/_posts/2026-02-15-archlinux-waydroid-installation-guide.md b/_posts/2026-02-15-archlinux-waydroid-installation-guide.md index 204275c..8b06eff 100644 --- a/_posts/2026-02-15-archlinux-waydroid-installation-guide.md +++ b/_posts/2026-02-15-archlinux-waydroid-installation-guide.md @@ -197,7 +197,32 @@ And if you're interested in learning more about Intel houdini you can have a loo By default waydroid shows AOSP on screen keyboard, which is useless on a computer with a keyboard already, to disable it the setting is in `Settings > System > Languages & input > Physical keyboard > Use on-screen keyboard` -#### 6) Additional troubleshooting +#### 6) SELinux + +This module is necessary for waydroid to work: + +``` +module local-waydroid-nft 1.0; + +require { + type virtd_t; + type iptables_t; + class process { noatsecure rlimitinh siginh }; +} + +#============= virtd_t ============== +allow virtd_t iptables_t:process { noatsecure rlimitinh siginh }; +``` + +You can compile it and load it with these commands (with the content above in a file `local-waydroid-nft.te`): + +```bash +checkmodule -m -o local-waydroid-nft.mod local-waydroid-nft.te +semodule_package -o local-waydroid-nft.pp -m local-waydroid-nft.mod +semodule -i local-waydroid-nft.pp +``` + +#### 7) Additional troubleshooting Finally you might want to check the [archwiki](https://wiki.archlinux.org/title/Waydroid) directly if having issues with waydroid. And although it's quite old and contains some unecessary steps now, you can check [this guide](https://forum.garudalinux.org/t/ultimate-guide-to-install-waydroid-in-any-arch-based-distro-especially-garuda/15902) too.