[Bug 726790] Re: python-vm-builder-0.12.4+bzr462-0ubuntu1: swap partitions fail to be created properly when "lucid" is the target

Taco 726790 at bugs.launchpad.net
Mon Dec 26 17:08:07 UTC 2011


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



More information about the Ubuntu-server-bugs mailing list