Bug 1067422
| Summary: | Mark loop devices with no file attached as SYSTEMD_READY=0 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Peter Rajnoha <prajnoha> | ||||
| Component: | systemd | Assignee: | systemd-maint | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Petr Sklenar <psklenar> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 7.0 | CC: | agk, harald, jscotka, lnykryn, systemd-maint-list, zkabelac | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | systemd-208-8.el7 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-06-13 11:54:26 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: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1063813 | ||||||
| Attachments: |
|
||||||
|
Description
Peter Rajnoha
2014-02-20 12:42:22 UTC
If possible, please try to squeeze this patch into RHEL 7.0. Thanks! Requesting a blocker for this one since this makes LVM on loop devices unusable when detaching and attaching again a file to a loop device. Also, based on the definition of SYSTEMD_READY that systemd uses to declare a device as properly initialized or not, clearly, the loop device without its backing file is not initialized. The patch is simple one-liner - it's checking the existence of loop/backing_file sysfs file existence which exists only if the loop device has a file attached and it sets SYSTEMD_READY based on this information. Looks good to me. Care to send that patch upstream? (In reply to Harald Hoyer from comment #4) > Looks good to me. Care to send that patch upstream? Sent: http://lists.freedesktop.org/archives/systemd-devel/2014-March/017647.html This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |