Merge ~mwhudson/curtin:lp-1928839 into curtin:master
Proposed by
Michael Hudson-Doyle
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Approved by: | Michael Hudson-Doyle | ||||||||
Approved revision: | 3fea6362aecc349960c4b31c54c6b904d7a4e2b5 | ||||||||
Merge reported by: | Server Team CI bot | ||||||||
Merged at revision: | not available | ||||||||
Proposed branch: | ~mwhudson/curtin:lp-1928839 | ||||||||
Merge into: | curtin:master | ||||||||
Diff against target: |
118 lines (+35/-9) 2 files modified
curtin/util.py (+20/-1) tests/unittests/test_curthooks.py (+15/-8) |
||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ryan Harper (community) | Approve | ||
Dan Bungert | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Review via email: mp+405670@code.launchpad.net |
Commit message
fix tearing down ChrootableTarget when mounts appear while it is set up
There are several bug reports that boil down to
ChrootableTarge
busy". For example, ssh-ing in while running tends to do this, because
that creates a mount in /run and then umounting /target/run fails
because of the sub mount. Fix this by marking the mountpoints
recursively private and then unmounting them recursively.
Description of the change
Hopefully this fixes a problem that's always niggled at me.
To post a comment you must log in.
FAILED: Continuous integration, rev:a9de3450edd 3e7d1f89064604f 5a3dfe3c98bf9e /jenkins. ubuntu. com/server/ job/curtin- ci/135/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-amd64/ 135/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-arm64/ 135/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-ppc64el/ 135/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-s390x/ 135/
https:/
Executed test runs:
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/curtin- ci/135/ /rebuild
https:/