-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Add instructions on how to run on Debian #1986
Comments
You can workaround it by enabling user sandboxes with CC: @bsclifton this is still happening, I just also experienced this on Debian Buster/testing where I didn't have Brave installed before. |
Also happens on Manjaro with Linux 4.19.1 and Brave version 0.56.12 installed with this package The workaround that @Mikaela commented also works.
|
+1 (2 seperate users) from Community: |
@Mikaela Appears to have fixed the issue, however I will keep this issue open. Since most users don't utilize the Terminal very often. An easy to use solution should be reached or these commands need to be added to documentation. |
Thanks for reminding me about this issue, I had written this note, but I don't think I ever remembered to ask it anywhere.
I am feeling too tired for researching this more by myself at the moment and it's not very high priority on my todo list.
👍 I believe that there is no valid reason for a web browser to demand me changing my kernel configuration, especially if I am running the stock configuration of my distribution, and if I did made my own kernel configuration changes, I expect a lot more apps would be breaking over it. |
+1 from brave/browser-laptop#15320 |
Related: #1899 (same for Arch Linux) |
I think this should be renamed into "No usable sandbox" or "Requires userns namespaces" or something similar and that made a duplicate of this one as I understand both are the same issue. I would like to bring this thread aware of what @veox said there (#1899 (comment)):
|
+1 from Community: |
I would like to add on here. There should be no reason to lower the security settings of the kernel as a workaround. Here is what the Arch documentation writes about this:
https://wiki.archlinux.org/index.php/security This seems like a significant security issue and it is very bad that many people are being told to reduce their kernel security. We need to solve the internal sandbox issue within Brave. |
We require user namespaces because Chromium's builtin setuid sandbox is being deprecated: https://chromium.googlesource.com/chromium/src/+/HEAD/docs/linux_suid_sandbox.md In the nearish future, Chromium linux users will also need to enable userns. EDIT: see https://groups.google.com/a/chromium.org/forum/m/#!topic/security-dev/t5Zu0i3PbYE and https://bugs.chromium.org/p/chromium/issues/detail?id=312380 for more details |
Here are more details on why chrome is dropping the setuid sandbox: https://bugs.chromium.org/p/chromium/issues/detail?id=312380 we should port brave/muon#171 over to this repo to make the error message more helpful |
If docs are being linked, then perhaps the slightly more higher-level Linux Sandboxing explanation is in order; or even the generic Sandbox overview. (EDIT: The three links are basically the doc tree on sandboxing in reverse.) |
my main question for those who support enabling the setuid sandbox is this any different then what docker requires? |
Maybe I'm not understanding something but this thread started in 2013 and only last responses are from this year and July the second was marked as fixed. "chrome is dropping" suggest present or near feature while the fix was done a half year ago and Chrome/Chromium is not having this issue, at least not in a visible way. |
+1 from twitter https://twitter.com/plus530/status/1073957916560973824 |
I think that might actually be something with snapcrafters/brave#21 as I think Ubuntu defaults to enabling user namespaces, but I am not entirely sure if that was the case with Ubuntu 16.04 LTS. |
It is the case that it is enabled yes!
On Tue, Dec 18, 2018 at 10:21 PM Mikaela Suomalainen < ***@***.***> wrote:
+1 from twitter https://twitter.com/plus530/status/1073957916560973824
I think that might actually be something with snapcrafters/brave#21
<snapcrafters/brave#21> as I think Ubuntu
defaults to enabling user namespaces, but I am not entirely sure if that
was the case with Ubuntu 16.04 LTS.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1986 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAxN27xOz4DnMAkju6U5AqwOaEbSiltiks5u6drfgaJpZM4YNw9W>
.
--
4045076749
Alex Newman
|
needed for #1986 mostly ported over from https://github.com/brave/browser-laptop/blob/master/docs/linuxInstall.md
Fix brave/brave-browser#1986 Depends on brave/brave-browser#2813 Ported from brave/muon#171
told the authors to put the review pieces on this app on hold. until major issues fixed. i like honey but the pots aint for our protection. no worries we have enough in our screen, ad infinitum boards. no legit human safety force has any excuse for such flaws. they dont need. |
@jacobcantele i closed this because the original issue was someone asking how to run Brave on Debian which is now solved; let's move discussion of potential userns sandbox alternatives to #3420 |
This first command:
does two things:
The next line reads version information from the operating system:
in order to detect the correct packages to use for your OS. For example, on my Ubuntu 18.04 machine, that file contains the following:
Then the next line adds the Brave package repository from which the signed packages can be downloaded:
The extra repository is added in a file like After adding the extra repository, we need to update the OS' list of available packages:
before installing the
The In other words, once you are done following these instructions, you end up with four things:
|
I'm sorry but why this was closed if there is still no instruction how to install on debian (and still not working?) Err:8 https://brave-browser-apt-dev.s3.brave.com stretch InRelease |
@palutz Since you seem to have a few leftovers from a previous attempt at getting this to work, I would suggest you remove all of the Brave-related things from your system first by deleting the following files:
and then removing any signing keys:
and any packages that may still be installed:
We will soon be changing the way we do our packages to better accommodate Debian, but in the meantime, try these instructions to install Brave on Debian. That's what I use on my Debian machine and it works well. |
Thanks. |
@palutz Brave browser keeps a different profile for you depending on what version you use (release, beta, dev, nightly). You can see them in I suspect that your old browser profile is not lost, but rather you installed a different version of Brave than the one you were running before. From the error messages in #1986 (comment), I think you were running If you want to reinstall the dev version, follow the development channel installation instructions instead of the release channel ones. |
If this thread clearly explains How to install brave on Debian stretch, I missed it. |
@scribnermj have you checked https://brave-browser.readthedocs.io/en/latest/installing-brave.html ? |
@scribnermj Have a look at https://community.brave.com/t/unable-to-install-brave-browser-in-my-debian-os-distro/43891/5?u=fmarier. I got it to work successfully, both on Debian unstable/sid and Debian stable/stretch. |
sudo apt install brave Not Install Why? |
This tries to install the snap package of muon which is deprecated. Please follow the instructions at https://brave-browser.readthedocs.io/en/latest/installing-brave.html. Once you have added the source list you need to install using |
You can install using |
Hello, I tried different ways by following the different topics covered but I still can't launch Brave. I add:
and do a: I do an update and then install Then I also added
I also tried
As for Brave, here is the error message when launching Brave :
Could someone help me and and explain to me where I'm wrong Thank you very much |
@BlockHackTk After adding the line to |
Unable to download brave on 19.10 ubuntu due to unsigned ppa? does anyone else faces the same issue? |
In case you wondered, the source for Brave that causes this error is not in the usual location, but here (enough to comment it out to repair
|
I installed brave today, and got this errors:
Log:
[removed for privacy]
Installation steps followed: https://github.com/brave/browser-laptop/blob/master/docs/linuxInstall.md
The text was updated successfully, but these errors were encountered: