Commit 7a126ae1 by Serge Hallyn

lxc.container.conf / apparmor : document cgns profile

Also document 'unchanged' which we had never documented before. Signed-off-by: 's avatarSerge Hallyn <serge.hallyn@ubuntu.com>
parent 787ff6e2
...@@ -1169,7 +1169,9 @@ proc proc proc nodev,noexec,nosuid 0 0 ...@@ -1169,7 +1169,9 @@ proc proc proc nodev,noexec,nosuid 0 0
If lxc was compiled and installed with apparmor support, and the host If lxc was compiled and installed with apparmor support, and the host
system has apparmor enabled, then the apparmor profile under which the system has apparmor enabled, then the apparmor profile under which the
container should be run can be specified in the container 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> </para>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
...@@ -1183,6 +1185,11 @@ proc proc proc nodev,noexec,nosuid 0 0 ...@@ -1183,6 +1185,11 @@ proc proc proc nodev,noexec,nosuid 0 0
use use
</para> </para>
<programlisting>lxc.aa_profile = unconfined</programlisting> <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> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
......
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