]> git.proxmox.com Git - mirror_lxc.git/commitdiff
Update docs to reflect lxc.init_uid and lxc.init_gid options
authorPatrick Toomey <ptoomey3@biasedcoin.com>
Wed, 19 Aug 2015 17:19:11 +0000 (11:19 -0600)
committerPatrick Toomey <ptoomey3@biasedcoin.com>
Fri, 28 Aug 2015 14:25:30 +0000 (08:25 -0600)
Signed-off-by: Patrick Toomey <ptoomey3@biasedcoin.com>
src/lxc/start.c

index 8456217064bade70ef68635a2e2fb22a1dd41414..99bf8f497191b38bcf49a85d3185fc4a431e44d5 100644 (file)
@@ -664,8 +664,9 @@ static int do_start(void *data)
 
        /*
         * if we are in a new user namespace, become root there to have
-        * privilege over our namespace. We don't become root for lxc-execute, as
-        * the intent is to execute a command as the original user.
+        * privilege over our namespace. When using lxc-execute we default to root,
+        * but this can be overriden using the lxc.init_uid and lxc.init_gid
+        * configuration options.
         */
        if (!lxc_list_empty(&handler->conf->id_map)) {
                gid_t new_gid = 0;