diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2021-10-18 14:17:02 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2021-11-03 20:25:14 +0000 |
commit | 12ab94a1e4961a39c32efb60b71866ab588d3ea2 (patch) | |
tree | 4d4a316d5e2ec0dbccbc54a6c38a604f980718dc /src/core/path.h | |
parent | 7454acd73f4197600ca440a74583aba804d9af30 (diff) | |
download | systemd-12ab94a1e4961a39c32efb60b71866ab588d3ea2.tar.gz |
core: Propagate condition failed state to triggering units.
Alternative to https://github.com/systemd/systemd/pull/20531.
Whenever a service triggered by another unit fails condition checks,
stop the triggering unit to prevent systemd busy looping trying to
start the triggered unit.
Diffstat (limited to 'src/core/path.h')
-rw-r--r-- | src/core/path.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/path.h b/src/core/path.h index 66ae857dc4..973cd594a6 100644 --- a/src/core/path.h +++ b/src/core/path.h @@ -46,6 +46,7 @@ typedef enum PathResult { PATH_FAILURE_RESOURCES, PATH_FAILURE_START_LIMIT_HIT, PATH_FAILURE_UNIT_START_LIMIT_HIT, + PATH_FAILURE_UNIT_CONDITION_FAILED, _PATH_RESULT_MAX, _PATH_RESULT_INVALID = -EINVAL, } PathResult; |