]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: mention garbage collection of failed conditions
authorSimon Schricker <sschricker@suse.de>
Mon, 13 May 2019 08:47:43 +0000 (10:47 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 13 May 2019 13:34:49 +0000 (15:34 +0200)
See discussion:
https://github.com/systemd/systemd/issues/2234

man/systemd.unit.xml

index 4b283880c3d31901d7a62f66a35ceb47cbc3a496..84af5109b82a546fe24684e4f74336dc3e2561ff 100644 (file)
         or runtime environment doesn't require their functionality. Use the various
         <varname>AssertArchitecture=</varname>, <varname>AssertVirtualization=</varname>, … options for a similar
         mechanism that causes the job to fail (instead of being skipped) and results in logging about the failed check
-        (instead of being silently processed). For details about assertion conditions see below.</para>
+        (instead of being silently processed). For details about assertion conditions see below. Units with failed
+        conditions are considered to be in a clean state and will be garbage collected if they are not referenced.
+        This means, that when queried, the condition failure may or may not show up in the state of the unit.</para>
 
         <para><varname>ConditionArchitecture=</varname> may be used to
         check whether the system is running on a specific