this post was submitted on 15 Apr 2024
152 points (96.3% liked)

Linux

48689 readers
551 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I tried Waydroid on Arch and its amazing. It runs Android apps flawlessly. And with a touchscreen device, I feel like I have an Android tablet running inside my Linux machine.

But I still don't know what to use it for...

What apps do you use with Waydroid? What use cases do you have for it?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 8 months ago (1 children)

It is true that Waydroid isn't super secure. that being said, it is still just a mostly stock android (unless you download gapps). Root is not exposed to the container so unless an exploit is found it is reasonably secure. There are measures waydroid can take to make it more secure. but as it stands it's "not bad"

[–] [email protected] 1 points 8 months ago* (last edited 8 months ago) (1 children)

Android relies on SELinux for its app sandbox. On Fedora the Waydroid package has some SELinux rules, but not sure if they are as good.

Daniel Micay answered under a Waydroid issue and at least on Android I fully trust his knowledge.

I dont know about exposed root, but Waydroid uses LXC containers and not rootless Podman/Docker.

The best solution would either be:

  • only run it on Fedora (no Problem for me)
  • harden the SELinux policy when needed
  • switch to a rootless container
  • or on other Distros, use a VM where you can fully control the environment
[–] [email protected] 1 points 8 months ago

as far as I know the SELinux container is configured, whether or not the distro uses it isn't up to waydroid but the packaging and host configuration. If there are issues with the SELinux implementation they need to be brought up.

Waydroid also supports apparmor for some protections when SELinux is not available. OFC it's not as good as selinux (and currently it's set in warning mode so it doesn't actually offer protections out of box, please we need people testing this) https://github.com/waydroid/waydroid/pull/906

If you want to use a VM, and anyone who needs a highish level of security should. Bliss OS is a much better option. Though it doesnt offer "native integration" with the host.