]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: queue loading transient units after setting their properties (#3676)
authorDavid Michael <fedora.dm0@gmail.com>
Fri, 8 Jul 2016 03:43:01 +0000 (20:43 -0700)
committerLennart Poettering <lennart@poettering.net>
Fri, 8 Jul 2016 03:43:01 +0000 (05:43 +0200)
commit4f952a3f07313e0373e568cb777cd90b27304b63
tree1a0efbe9270e0be8c1daae1f789debd8fb182a23
parent78a4ee591acc1424945ecfba517e97dc979cfd3b
core: queue loading transient units after setting their properties (#3676)

The unit load queue can be processed in the middle of setting the
unit's properties, so its load_state would no longer be UNIT_STUB
for the check in bus_unit_set_properties(), which would cause it to
incorrectly return an error.
src/core/dbus-manager.c
src/core/unit.c