Bug 1411299
| Summary: | After unit installation, upgrade or removal systemctl daemon-reload is invoked even for system without systemd running | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Pavol Babinčák <pbabinca> | ||||
| Component: | systemd | Assignee: | systemd-maint | ||||
| Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 25 | CC: | johannbg, lnykryn, msekleta, muadda, ssahani, s, systemd-maint, zbyszek | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | systemd-232-11.fc26 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2017-12-12 10:09:50 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Pavol Babinčák
2017-01-09 11:58:56 UTC
You're right, we should wrap this in a check that systemd is running. A better check would be that described in https://www.freedesktop.org/software/systemd/man/sd_booted.html, "test -e /run/systemd/system". Created attachment 1238983 [details]
patch
I'll submit a proper pull request tomorrow ;)
(In reply to Zbigniew Jędrzejewski-Szmek from comment #3) > https://github.com/systemd/systemd/commit/f0c03de85a I believe you have meant this one: https://github.com/systemd/systemd/commit/13749f547357f8e9ec398680548f818dea3aba1c Indeed. Fixed in rawhide with systemd-232-11.fc26, reassigning to 25 which also needs the fix. Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |