waydroid SELinux update
This commit is contained in:
@@ -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`
|
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.
|
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.
|
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.
|
||||||
|
|||||||
Reference in New Issue
Block a user