diff options
author | Richard Maw <richard.maw@gmail.com> | 2014-10-15 17:47:46 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2014-10-24 14:31:15 +0000 |
commit | 11669de95de7e8a9ad8b41fa5e9be3fbb845c52e (patch) | |
tree | ec31d36ce5e414ab6b9a6ed49a5c5b2ccbcb6771 /tests.build/build-stratum-with-submodules.script | |
parent | 0ed18258e2fa760eae780fee741bb95eeb467bc4 (diff) | |
download | morph-11669de95de7e8a9ad8b41fa5e9be3fbb845c52e.tar.gz |
deploy extensions: Don't crash if someone builds at the same time
If a build happens, it creates a new network namespace, and if this
happens while you have a disk image mounted, then you can't remove the
mount-point, because the other namespace is using it.
We can avoid the other namespace keeping this mount-point open by
creating the disk image in a private mount namespace, so it never sees
it.
The nicest way to do this is to have every extension run in a private
mount namespace, since you'd have to have extensions re-exec themselves,
since the appropriate system calls aren't exposed very well.
Diffstat (limited to 'tests.build/build-stratum-with-submodules.script')
0 files changed, 0 insertions, 0 deletions