]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
lxc.container.conf / apparmor : document cgns profile
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Mon, 22 Feb 2016 04:46:58 +0000 (20:46 -0800)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Mon, 22 Feb 2016 04:46:58 +0000 (20:46 -0800)
Also document 'unchanged' which we had never documented before.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
doc/lxc.container.conf.sgml.in

index 90d9af5e0dbced1155543c1accea2f86b8c9b9a4..69dd09a1b02d9d09e9922683f250994af99c5fed 100644 (file)
@@ -1169,7 +1169,9 @@ proc proc proc nodev,noexec,nosuid 0 0
         If lxc was compiled and installed with apparmor support, and the host
         system has apparmor enabled, then the apparmor profile under which the
         container should be run can be specified in the container
-        configuration.  The default is <command>lxc-container-default</command>.
+        configuration.  The default is <command>lxc-container-default-cgns</command>
+       if the host kernel is cgroup namespace aware, or
+       <command>lxc-container-default</command> othewise.
       </para>
       <variablelist>
         <varlistentry>
@@ -1183,6 +1185,11 @@ proc proc proc nodev,noexec,nosuid 0 0
               use
             </para>
               <programlisting>lxc.aa_profile = unconfined</programlisting>
+            <para>
+              If the apparmor profile should remain unchanged (i.e. if you
+             are nesting containers and are already confined), then use
+            </para>
+              <programlisting>lxc.aa_profile = unchanged</programlisting>
           </listitem>
         </varlistentry>
         <varlistentry>