Commit 2beffce4 authored by Luis Henriques's avatar Luis Henriques

Revert "UBUNTU: SAUCE: (namespace) fuse: Allow user namespace mounts by default"

BugLink: https://bugs.launchpad.net/bugs/1644165

This reverts commit 40ccb4df.

The kernel fix for bug #1634964 breaks LXD userspace, in particular the
following commits:

ac7f3f73 (namespace) vfs: Don't modify inodes with a uid or gid unknown to the vfs
ca52383a (namespace) vfs: Don't create inodes with a uid or gid unknown to the vfs

LXD 2.0.6 will include changes to support these kernel changes, but it isn't
available yet on xenial, so for now we just revert these commits.
Signed-off-by: default avatarLuis Henriques <luis.henriques@canonical.com>
parent 930f23a9
...@@ -48,7 +48,7 @@ MODULE_PARM_DESC(max_user_congthresh, ...@@ -48,7 +48,7 @@ MODULE_PARM_DESC(max_user_congthresh,
"Global limit for the maximum congestion threshold an " "Global limit for the maximum congestion threshold an "
"unprivileged user can set"); "unprivileged user can set");
static bool userns_mounts = true; static bool userns_mounts;
module_param(userns_mounts, bool, 0644); module_param(userns_mounts, bool, 0644);
MODULE_PARM_DESC(userns_mounts, "Allow mounts from unprivileged user namespaces"); MODULE_PARM_DESC(userns_mounts, "Allow mounts from unprivileged user namespaces");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment