Bug 1088057
| Summary: | RequiresMountsFor doesn't do anything | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Cristian Ciupitu <cristian.ciupitu> |
| Component: | systemd | Assignee: | systemd-maint |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 20 | CC: | johannbg, lnykryn, msekleta, ohadlevy, plautrba, systemd-maint, vpavlin, zbyszek |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | systemd-208-19.fc20.x86_64 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-06-28 16:00:41 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: | |||
|
Description
Cristian Ciupitu
2014-04-16 00:14:46 UTC
This is probably because of the 'noauto'. The semantics of noauto are basically that it will not be mounted automatically... This is a bit of a corner case. You might want to replace 'RequiresMountsFor=...' with 'Requires=var-lib-libvirt.mount var-lib-libvirt-images-ram.mount'. That worked. Thank you for the workaround. Nevertheless the issue remains. Perhaps the behavior for noauto should be changed a bit or the systemd.unit(5) man page should mention this corner case. I added a note to systemd.unit(5) in http://cgit.freedesktop.org/systemd/systemd/commit/?id=5d2abc0. systemd-208-18.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/systemd-208-18.fc20 Package systemd-208-18.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing systemd-208-18.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-7512/systemd-208-18.fc20 then log in and leave karma (feedback). Package systemd-208-19.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing systemd-208-19.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-7512/systemd-208-19.fc20 then log in and leave karma (feedback). The change to documentation will be reverted upstream. It seems the intended behaviour was to have RequiresMountsFor pull in units which have noauto set, and the actual code has been doing that since a long while. https://lists.freedesktop.org/archives/systemd-devel/2017-January/038192.html |