Created attachment 581492 [details]
[1/4] schedule JOB_RESTART from SERVICE_AUTO_RESTART state
A service may automatically restart if the Restart option is set (for example, if the service fails and has Restart=on-failure). When this happens, any other services that BindTo this service are stopped, but they do not start again after the automatic restart is complete.
This was fixed upstream in commit 48bb58769a00e8e50a617ebbfff84599a0350fa5. Unfortunately it introduced a regression in OnFailure handling, but a three-patch fix for that has been posted and is waiting upstream review.
This bug is created to track the inclusion of these fixes in Fedora. The patches attached to this bug are the same as the four patches sent upstream, except they have been backported for systemd 44, which is currently in rawhide and f17.
Created attachment 581494 [details]
[2/4] service: actually delay auto-restart if another job is pending
Created attachment 581495 [details]
[3/4] service: fix auto-restart handling in service_stop()
Created attachment 581496 [details]
[4/4] service: fix auto-restart handling in service_start()
Please apply this fix also for systemd in Fedora 16.
systemd-44-12.fc17 has been submitted as an update for Fedora 17.
systemd-37-24.fc16 has been submitted as an update for Fedora 16.
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing systemd-44-12.fc17'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
The testing packages for Fedora 16 and 17 resolve the issue; karma added. Also this should now be fixed in rawhide, as these changes are included in systemd 183. http://koji.fedoraproject.org/koji/buildinfo?buildID=320458
David, thank you for the patches and for testing the builds. I saw your karma.
I'm going to let the builds stay in updates-testing for a few more days to give users a chance to notice any regressions.
systemd-44-12.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
(In reply to comment #10)
> David, thank you for the patches and for testing the builds. I saw your
> I'm going to let the builds stay in updates-testing for a few more days to
> give users a chance to notice any regressions.
Michal, if you would still like additional testing of the Fedora 16 build, can you please send an email to firstname.lastname@example.org and solicit testers? This build is not being listed on their automated emails because it has reached critical path approval, so I think it has fallen off everyone's radar.
(I tried to subscribe to the list but it's not going through for me.)
systemd-37-25.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.