]> git.proxmox.com Git - lxc.git/commitdiff
add README to decribe problems
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 10 Apr 2015 14:01:25 +0000 (16:01 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 10 Apr 2015 14:01:25 +0000 (16:01 +0200)
README [new file with mode: 0644]

diff --git a/README b/README
new file mode 100644 (file)
index 0000000..a0cc363
--- /dev/null
+++ b/README
@@ -0,0 +1,25 @@
+NOTES:
+
+Problems with RHEL7 kernel:
+
+  ret = unshare(CLONE_NEWUSER);
+
+does not work, because:
+
+---------------------------
+# file: liinux-2.6-3.10.0/kernel/user_namespace.c 
+int create_user_ns(struct cred *new)
+{
+       struct user_namespace *ns, *parent_ns = new->user_ns;
+       kuid_t owner = new->euid;
+       kgid_t group = new->egid;
+       int ret;
+
+       /* Currently disabled in RHEL7 */
+       return -EINVAL;
+...
+---------------------------
+
+There is already an open bug:
+
+https://bugzilla.redhat.com/show_bug.cgi?id=917708