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

Investigate chromium --no-sandbox #9

Closed
MoralCode opened this issue Mar 3, 2025 · 3 comments
Closed

Investigate chromium --no-sandbox #9

MoralCode opened this issue Mar 3, 2025 · 3 comments

Comments

@MoralCode
Copy link
Owner

I'm also a bit concerned about running anything Chromium-based with --no-sandbox. Chromium Flatpak apps do not get access to unprivileged user namespaces, or the chrome-sandbox SUID binary (one of these two is necessary for Chromium's Layer 1 sandbox to work correctly), and are instead expected to use Flatpak's sub-sandbox API. Currently, Chromium doesn't support this API. The only real solution right now is to use Zypak which works around this issue.

source: futo-org/Grayjay.Desktop#14 (comment)

@MoralCode
Copy link
Owner Author

If i understand correctly, all that would be needed would be to use https://docs.flatpak.org/en/latest/electron.html#launching-the-app to launch the app to resolve the sandboxing issues? or would this need to be done in combination with removing --no-sandbox from the app itself (specifically for flatpak builds)

Maybe its worth going through the git logs to see why --no-sandbox was added in the first place

@MoralCode
Copy link
Owner Author

futo-org/Grayjay.Desktop#416 upstream issue

@MoralCode
Copy link
Owner Author

closing since this is filed upstream and is not a flatpak-only issue.

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

1 participant