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

Warning "--no-sandbox Stability and security will suffer" on first launch #2979

Closed
max-l opened this issue Jan 16, 2019 · 11 comments
Closed

Warning "--no-sandbox Stability and security will suffer" on first launch #2979

max-l opened this issue Jan 16, 2019 · 11 comments

Comments

@max-l
Copy link

@max-l max-l commented Jan 16, 2019

I installed brave

Version 0.56.12 Chromium: 70.0.3538.77 (Official Build) unknown (64-bit)

as a ubuntu 18.04 snap: https://snapcraft.io/brave

When the browser launches there is the warning:

You are using an unsupported command-line flag --no-sandbox Stability and security will suffer

@rebron rebron added this to the 1.x Backlog milestone Jan 18, 2019
@rebron
Copy link
Collaborator

@rebron rebron commented Jan 18, 2019

@rebron rebron added the OS/Linux label Jan 18, 2019
@posix4e
Copy link
Contributor

@posix4e posix4e commented Jan 18, 2019

This is fixed in future snaps. The current snap needs an update.

@tomlowenthal
Copy link
Contributor

@tomlowenthal tomlowenthal commented Jan 24, 2019

How have you fixed it, @posix4e? Are you just not showing the warning any more?

@posix4e
Copy link
Contributor

@posix4e posix4e commented Jan 24, 2019

@posix4e
Copy link
Contributor

@posix4e posix4e commented Jan 24, 2019

It was fixed here https://github.com/brave/unofficial-snap/commits/master for the last few commits.

  • We upgraded to new brave
  • We re-enabled the sandbox
@rebron rebron removed this from the 1.x Backlog milestone Feb 7, 2019
@hubitor
Copy link

@hubitor hubitor commented Feb 8, 2019

I have installed this version (dev version from AUR):
Version 0.61.17 Chromium: 72.0.3626.81 (Official Build) unknown (64-bit)
and I'm still seeing this message.
In which version will be the fix added?

@fmarier
Copy link
Member

@fmarier fmarier commented Feb 8, 2019

@hubitor That's because the package that's in Arch Linux explicitly disables the security sandbox when it detects that user namespaces are disabled.

To fix this, follow the instructions on the stable package page:

sudo sysctl kernel.unprivileged_userns_clone=1
echo kernel.unprivileged_userns_clone = 1 | sudo tee /etc/sysctl.d/00-local-userns.conf
@meliaas
Copy link

@meliaas meliaas commented Jul 27, 2019

Hey, I followed @fmarier instructions but the error message persists on Manjaro Linux and Brave version 0.66.99-1

@fmarier
Copy link
Member

@fmarier fmarier commented Aug 2, 2019

@meliaas Could you please file a new issue for this and include:

  • the version of Manjaro you are using
  • the exact instructions you followed to install Brave
  • the error message you are seeing when you run brave-browser from a terminal

I'd like to figure out what's not working for you since it appears to be different.

@fmarier
Copy link
Member

@fmarier fmarier commented Aug 2, 2019

I'm going to set this to P5 since the original reports were about unsupported third-party packages. The Manjaro issue is potentially different so we can track that separately.

@fmarier
Copy link
Member

@fmarier fmarier commented Dec 12, 2019

Closing since this was fixed a while back: #2979 (comment)

@fmarier fmarier closed this Dec 12, 2019
@bbondy bbondy added this to the Closed / Invalid milestone Jun 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
8 participants
You can’t perform that action at this time.