]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: document that ConditionKernelCommandLine= looks at /proc/1/environ in containers
authorLennart Poettering <lennart@poettering.net>
Fri, 16 Oct 2020 16:22:37 +0000 (18:22 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 19 Oct 2020 07:20:20 +0000 (09:20 +0200)
Fixes: #16941
man/systemd.unit.xml

index f23c903d069efc59da09601bd114a2d53f8370db..27035798bc2bb46891521454a539b31baa412045 100644 (file)
           argument must either be a single word, or an assignment (i.e. two words, separated by
           <literal>=</literal>). In the former case the kernel command line is searched for the word
           appearing as is, or as left hand side of an assignment. In the latter case, the exact assignment is
-          looked for with right and left hand side matching.</para>
+          looked for with right and left hand side matching. This operates on the kernel command line
+          communicated to userspace via <filename>/proc/cmdline</filename>, except when the service manager
+          is invoked as payload of a container manager, in which case the command line of <filename>PID
+          1</filename> is used instead (i.e. <filename>/proc/1/cmdline</filename>).</para>
           </listitem>
         </varlistentry>