Bug 802770
Summary: | Systemd starts a "Requires" dependency on "start" but not on "restart" | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Peter Rajnoha <prajnoha> |
Component: | systemd | Assignee: | systemd-maint |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | chaowang, johannbg, metherid, mschmidt, notting, plautrba, systemd-maint, zkabelac |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-05-29 10:33:58 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Peter Rajnoha
2012-03-13 13:23:10 UTC
*** Bug 808724 has been marked as a duplicate of this bug. *** https://bugzilla.redhat.com/show_bug.cgi?id=808724#c4: > Looks like we need to add dependency jobs for JOB_RESTART in > transaction_add_job_and_dependencies(), the same as "type == JOB_START" has. It's the right thing to do, but it will expose a bug: If A.service requires B.service, both are running, and the user requests a restart of B.service, the following jobs will be added: B.service/restart (the anchor) A.service/restart (dependency from B's UNIT_REQUIRED_BY) B.service/start (dependency from A's UNIT_REQUIRES) B.service/restart and B.service/start will be merged, but unfortunately the one that gets deleted is the anchor. systemctl will not notice the completion of the job. Is this bug that would be exposed related to https://bugzilla.redhat.com/show_bug.cgi?id=753586#c21? No, it is different. I'm rewriting systemd's transaction code a bit. This bug should get fixed in the process. Upstream fix: http://cgit.freedesktop.org/systemd/systemd/commit/?id=65304075249449a713b4e4842b8538ef4aa1c725 In depends on previous patches. systemd-44-9.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/systemd-44-9.fc17 systemd-37-20.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/systemd-37-20.fc16 Package systemd-44-9.fc17: * 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-9.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-8127/systemd-44-9.fc17 then log in and leave karma (feedback). 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. 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. |