Merge ~smoser/cloud-init:bug/before-fsck into cloud-init:master
Proposed by
Scott Moser
Status: | Merged |
---|---|
Merged at revision: | 1f5489c258a26f4e26261c40786537951d67df1e |
Proposed branch: | ~smoser/cloud-init:bug/before-fsck |
Merge into: | cloud-init:master |
Diff against target: |
30 lines (+6/-0) 2 files modified
setup.py (+4/-0) systemd/systemd-fsck@.service.d/cloud-init.conf (+2/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Balint Reczey (community) | Needs Information | ||
Server Team CI bot | continuous-integration | Approve | |
cloud-init Commiters | Pending | ||
Review via email: mp+324191@code.launchpad.net |
Commit message
systemd: make systemd-fsck run after cloud-init.service
cloud-init.service may write filesystems (fs_setup) or re-partition
(disk_setup) disks.
If systemd-fsck is running on a device while that is occuring
then the partitioning or mkfs might fail due to the device being busy.
Alternatively, the fsck might fail and cause subsequent mount to fail.
LP: #1691489
To post a comment you must log in.
This *seems* to work for me, but I'd like to have some review by someone else who is knowledgeable in systemd.