Skip to content

Commit

Permalink
Stop enabling usernamespaces automatically (fixes brave/brave-browser…
Browse files Browse the repository at this point in the history
…#7506)

Now that the SUID sandbox is fixed (brave/brave-browser#6247), it
is no longer required to enable user namespaces in order to use
Brave.
  • Loading branch information
fmarier committed Dec 31, 2019
1 parent d186649 commit f2b01a7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions deb/brave-keyring/DEBIAN/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,3 @@

# Delete (expired) key added by old install instructions
apt-key --keyring /etc/apt/trusted.gpg del D8BAD4DE7EE17AF52A834B2D0BB75829C2D4E821

# Enable user namespaces immediately if they're available
sysctl -p /etc/sysctl.d/30-brave.conf || true
3 changes: 0 additions & 3 deletions deb/brave-keyring/etc/sysctl.d/30-brave.conf
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
# Enable user namespaces which are required by the Chromium sandbox
# https://github.com/brave/brave-browser/issues/1986#issuecomment-445057361
kernel.unprivileged_userns_clone = 1

0 comments on commit f2b01a7

Please sign in to comment.