]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: clearly refuse OnFailure= deps on units that can't fail
authorLennart Poettering <lennart@poettering.net>
Tue, 7 Jan 2020 10:48:57 +0000 (11:48 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 9 Jan 2020 10:03:53 +0000 (11:03 +0100)
commitc80a9a33d04fb4381327a69ce929c94a9f1d0e6c
tree5d127d9c883beceafdba11d1346fecad9f6dc72e
parent125c7814fa50d1459b515180bc6a698b0e56bc61
core: clearly refuse OnFailure= deps on units that can't fail

Similar, refuse triggering deps on units that cannot trigger.

And rework how we ignore After= dependencies on device units, to work
the same way.

See: #14142
src/core/automount.c
src/core/device.c
src/core/mount.c
src/core/path.c
src/core/scope.c
src/core/service.c
src/core/socket.c
src/core/swap.c
src/core/timer.c
src/core/unit.c
src/core/unit.h