]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: set Result=start-limit-hit when a unit is rate limited
authorLuca Boccassi <luca.boccassi@gmail.com>
Wed, 3 Dec 2025 18:59:34 +0000 (18:59 +0000)
committerMike Yuan <me@yhndnzj.com>
Wed, 17 Dec 2025 23:19:09 +0000 (00:19 +0100)
commit90f4c0473a70e83ace55c56bbc182fdd3c5c5944
tree363cb4cd493d88212c84b66a6eb117c5f26680ba
parent2a1193d4cc9c975ddde178562f051fb5261fadc4
core: set Result=start-limit-hit when a unit is rate limited

There is currently no way to figure out a rate limit was hit on a unit,
as the last result is stripped in order to keep reporting the first
result, which is useful in case of a watchdog failure, which is the
reason why it was changed as such.

But rate limiting is also an important information to provide to
users, so allow the Result property to reflect it when it
happens.
src/core/automount.c
src/core/mount.c
src/core/path.c
src/core/service.c
src/core/socket.c
src/core/swap.c
src/core/timer.c
test/units/TEST-07-PID1.issue-3166.sh