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 <luca.boccassi@gmail.com>
Thu, 10 Mar 2022 20:40:50 +0000 (20:40 +0000)
commit5b7c7ed357b07cfabe80aa35edae171826884ac1
tree9cb3ed5cc1ff828c159287dddb9ddd3d543be683
parent1072a9382b94bacd76decd9cb0ae601ef48e9939
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

(cherry picked from commit ee3ae55e7537c716530b293c91f3fb9ae22a8049)
man/org.freedesktop.systemd1.xml
src/core/dbus-unit.c
src/core/dbus-unit.h