Merge ~mwhudson/curtin:lp-1847771 into curtin:master
Proposed by
Michael Hudson-Doyle
Status: | Merged |
---|---|
Approved by: | Dan Watkins |
Approved revision: | 788630651611669da45e79364871e7a4d29f30c8 |
Merge reported by: | Server Team CI bot |
Merged at revision: | not available |
Proposed branch: | ~mwhudson/curtin:lp-1847771 |
Merge into: | curtin:master |
Diff against target: |
30 lines (+3/-3) 1 file modified
curtin/storage_config.py (+3/-3) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Dan Watkins (community) | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Review via email: mp+374103@code.launchpad.net |
Commit message
storage_config: interpret value, not presence, of DM_MULTIPATH_
Curtin assumes any block device that has the DM_MULTIPATH_
key set in udev is a block device, but that's not correct. Since
multipath-tools 0.7.7 (according to
https:/
device that multipathd looks at gets that key set, but it is set to "1"
for things that are part of a multipathed device and "0" for things that
are not. So fix the checks in curtin to follow that.
Description of the change
Not tested. But probably right?
To post a comment you must log in.
I've tested this now and it prevents the crash on my laptop (whereas the current daily crashes)