]> git.ipfire.org Git - thirdparty/systemd.git/commit
Return -EAGAIN instead of -EALREADY from unit_reload 11506/head
authorJonathon Kowalski <bl0pbl33p@gmail.com>
Sun, 20 Jan 2019 22:12:24 +0000 (22:12 +0000)
committerJonathon Kowalski <bl0pbl33p@gmail.com>
Sun, 20 Jan 2019 22:12:24 +0000 (22:12 +0000)
commit6255af75d7d198e631c70fa0b3a3d821a14c9227
treed431aeba297d0850ea3a1992eac218e57fdcdca2
parent8464d9e0dc506538fd0f2d1d667966750cb9cf30
Return -EAGAIN instead of -EALREADY from unit_reload

Fixes: #11499
Let's return -EAGAIN so that on state change, unit_process_job tries to
add our job to run_queue again so that all the reloads that coalesced
into the installed reload (which itself merged into a running one)
inititally atleast runs *once*. This should ensure service picks up all
config changes reliably.

See the issue being fixed for a detailed explanation.
src/core/unit.c