A simple workaround is simply add some sleep as follows.
def unmount_dev(self):
self.context.cancel_cleanup(self.unmount_dev)
run_cmd('sleep', '10'); // <--- add this line.
run_cmd('umount', '%s/dev' % self.context.chroot_dir)
Above
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/879710
Title:
ubuntu-vm-builder crashes when trying to umount tmp directory.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/879710/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs