chiark / gitweb /
transaction: add starting requirements for JOB_RESTART
authorMichal Schmidt <mschmidt@redhat.com>
Fri, 20 Apr 2012 12:44:00 +0000 (14:44 +0200)
committerMichal Schmidt <mschmidt@redhat.com>
Fri, 20 Apr 2012 15:12:29 +0000 (17:12 +0200)
commit65304075249449a713b4e4842b8538ef4aa1c725
tree9459e3dd34c797774c341e9f426024e58ba098c4
parent97e6a11996855800f68dc41c13537784198c8b61
transaction: add starting requirements for JOB_RESTART

While having a Requires= dependency between units, the dependency is started
automatically on "systemctl start", but it's not started on "systemctl
restart".

JOB_RESTART jobs did not pull the dependencies for starting into the
transaction.

https://bugzilla.redhat.com/show_bug.cgi?id=802770

Note that the other bug noted in comment #2 has been fixed already by avoiding
the deletion of anchor jobs.
src/core/transaction.c