-
Notifications
You must be signed in to change notification settings - Fork 93
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
[Linux x64] Why is there no chrome_sandbox despite being in build_cromite.yaml ? #1374
Comments
from what I know, that file should only be used for flatpak. |
I'm not using flatpak. I've first tried to use it by downloading github actions release. Then downloaded through AUR repository (but there is no difference its just a script downloading the latest CI release and placing it in a corresponding folder). It's odd, it isn't meant to be only used for flatpak. I've (official) chromium, ungoogled chromium, brave an other electron apps installed on my linux and all of them come with chrome-sandbox SUID binary out of the box. Chrome have two way of sandboxing on linux:
In our case, my kernel do not have user namespaces enabled (for security reasons) and since the SUID binary isn't present, it can't isolate, thus requiring me to run without sandbox. |
Workaround I found at the moment is:
|
Preliminary checklist
Can the bug be reproduced with corresponding Chromium version?
No
Are you sure?
Yes
Cromite version
127.0.6533.103
Device architecture
x64
Platform version
I prefer not to write it/No matter
Android Device model
None
Is the device rooted?
I prefer not to write it
Changed flags
no flags changed
Is this bug happening in an incognito tab?
Yes
Is this bug caused by the adblocker?
No
Is this bug a crash?
No
Describe the bug
Latest version of cromite (in release tab) do not contian the chrome_sandbox utility for sandboxing chromium. Despite being in linux workflow:
cromite/.github/workflows/build_cromite.yaml
Line 400 in 888b4cf
Added by this commit:
754f4cb
This result in an infamous:
This is surely what caused: #1241
Worth noting that Ubuntu's apparmor profile isn't equivalent to chrome-sandbox several protection mechanisms.
Tested on Arch Linux.
Steps to reproduce the bug
Expected behavior
Should launch without warning and have chrome://sandbox setup correctly
Screenshots
No response
The text was updated successfully, but these errors were encountered: