Using version 0.12.4+bzr469-0ubuntu1 I also get the exception that the device is busy. When I insert a "run_cmd('sync')" just before the umount command it works OK and building finishes without the exception.
So, the /usr/lib/python2.7/dist- packages/VMBuilder/plugins/ubuntu/dapper.py file contains: def unmount_dev(self): self.context.cancel_cleanup(self.unmount_dev) run_cmd('sync') # added by me run_cmd('umount', '%s/dev' % self.context.chroot_dir) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder in Ubuntu. https://bugs.launchpad.net/bugs/726790 Title: python-vm-builder-0.12.4+bzr462-0ubuntu1: swap partitions fail to be created properly when "lucid" is the target To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/726790/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs