core: do not return 'skipped' when Condition*= fail with StartUnitWithFlags()
authorLuca Boccassi <bluca@debian.org>
Tue, 8 Mar 2022 22:13:37 +0000 (22:13 +0000)
committerLuca Boccassi <bluca@debian.org>
Thu, 10 Mar 2022 13:16:21 +0000 (13:16 +0000)
commitee3ae55e7537c716530b293c91f3fb9ae22a8049
treef94534ceb5f937f2e3b140ff110a891fba1e4349
parentbd844eae233b74ebf151ceefa0a5f026978bebab
core: do not return 'skipped' when Condition*= fail with StartUnitWithFlags()

Backward incompatible change to avoid returning 'skipped' if a condition causes
a job activation to be skipped when using StartUnitWithFlags().
Job results are broadcasted, so it is theoretically possible that existing
software could get confused if they see this result.

Replaces https://github.com/systemd/systemd/pull/22369
man/org.freedesktop.systemd1.xml
src/core/dbus-unit.c
src/core/dbus-unit.h