Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flatpak compatability? #42

Closed
ribosomerocker opened this issue Oct 2, 2021 · 2 comments
Closed

Flatpak compatability? #42

ribosomerocker opened this issue Oct 2, 2021 · 2 comments

Comments

@ribosomerocker
Copy link

Hey, this is an awesome project and I really appreciate all the work being done on this. I've just got one question that I'm unsure if this project really plans to deliver on this, does already, or doesn't plan to. Since I've not seen anything by searching, I'll just ask here; does Flatpak work? If not, is it ever planned to work?

@netbsduser
Copy link
Member

Thanks for your support, glad to hear of it.

InitWare aims to keep providing full compatibility with the major interfaces of systemd, so Flatpak should work fine - maybe just with small patches. If it doesn't work, then I would improve InitWare's systemd compatibility to let it work. I haven't tried it yet myself however.

This is the case for InitWare on Linux. But on BSD platforms there would be other compatibility issues in Flatpak, which I understand uses namespaces and other Linux features which don't all have directly-analogous features in every BSD platform. A wider project to port Flatpak would be necessary there.

@ribosomerocker
Copy link
Author

Ah, yeah, that completely missed my mind in regards to the BSDs, by the time I made this issue; I will be closing this.

Just if someone stumbles into this, after realising that Flatpak uses some Linux-only features, I tried to research some of the features that Flatpak said it uses that are Linux-only and looked to see if there are any alternatives, and this is as far as I got (just mentioning so that people can know what is specifically needing to be changed):

Linux BSD
CGroups PTGroups, RCTL
bind mounts nullfs mounts, bindfs
namespaces jails, bhyve
seccomp capsicum

this is not an exhaustive list, though. I didn't bother to read through the source code and see exactly how many features they use, but those are the features that i've seen them mention. There's really only one feature I found that doesn't have an equivalent in the BSDs which is the keyctl syscall.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants