]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
doc: Add doc for keyring options 3260/head
authorMaximilian Blenk <Maximilian.Blenk@bmw.de>
Wed, 29 Jan 2020 17:10:38 +0000 (18:10 +0100)
committerMaximilian Blenk <Maximilian.Blenk@bmw.de>
Fri, 31 Jan 2020 13:33:10 +0000 (14:33 +0100)
Signed-off-by: Maximilian Blenk <Maximilian.Blenk@bmw.de>
doc/lxc.container.conf.sgml.in

index 784f833733f94c657092e9ba72de7a2384c6611d..8dcadf7c54c53f56ce444d452b3021bdd356744d 100644 (file)
@@ -1932,6 +1932,44 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
             <programlisting>lxc.selinux.context = system_u:system_r:lxc_t:s0:c22</programlisting>
           </listitem>
         </varlistentry>
+        <varlistentry>
+          <term>
+            <option>lxc.selinux.context.keyring</option>
+          </term>
+          <listitem>
+            <para>
+              Specify the SELinux context under which the container's keyring
+              should be created. By default this the same as lxc.selinux.context, or
+              the the context lxc is executed under if lxc.selinux.context has not been set.
+            </para>
+            <programlisting>lxc.selinux.context.keyring = system_u:system_r:lxc_t:s0:c22</programlisting>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refsect2>
+
+    <refsect2>
+      <title>Kernel Keyring</title>
+      <para>
+        The Linux Keyring facility is primarily a way for various
+        kernel components to retain or cache security data, authentication
+        keys, encryption keys, and other data in the kernel. By default lxc
+        will create a new session keyring for the started application.
+      </para>
+      <variablelist>
+        <varlistentry>
+          <term>
+            <option>lxc.keyring.session</option>
+          </term>
+          <listitem>
+            <para>
+              Disable the creation of new session keyring by lxc. The started
+              application will then inherit the current session keyring.
+              By default, or when passing the value 1, a new keyring will be created.
+            </para>
+            <programlisting>lxc.keyring.session = 0</programlisting>
+          </listitem>
+        </varlistentry>
       </variablelist>
     </refsect2>