diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2011-07-02 14:52:52 +0200 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2011-07-02 17:32:05 +0200 |
commit | 1b562e4604f8833bc21fd251b8bdb45c9c224df4 (patch) | |
tree | 5c2c9c3cad2db23a87b903c73e8e723592bc3a2b /src/systemctl.c | |
parent | 21bdae12e11ae20460715475d8a0c991f15464ac (diff) |
manager: consider the active job when merging
In some cases systemd forgets to start enabled services, e.g. in this scenario:
1. The job "sendmail.service/start" is installed.
2. Before systemd proceeds with this job, a process requests a reload of
sendmail. The job "sendmail.service/reload" is enqueued.
3. The original job is silently discarded. The service is not started.
The reload job proceeds by doing nothing.
The fix is to allow merging transaction jobs with the active job.
With the fix the resulting merged job "sendmail.service/reload-or-start" is
installed and the service works as expected.
https://bugzilla.redhat.com/show_bug.cgi?id=633774
Diffstat (limited to 'src/systemctl.c')
0 files changed, 0 insertions, 0 deletions