I have the same problem with vmbuilder 0.12.4.r466 (Ubuntu 11.10 amd64).

Here are the last lines of output for this command :

sudo vmbuilder kvm ubuntu --suite natty --flavour virtual --arch i386 -o
--iso=/home/isos/ubuntu-11.04-server-i386.iso --mirror
http://ftp.heanet.ie/pub/ubuntu --debug --libvirt qemu:///system --ip
192.168.0.100 --hostname myvm --user user --name user --pass default
--addpkg unattended-upgrades --addpkg acpid

2011-11-02 08:12:36,012 DEBUG   : Ign http://ftp.heanet.ie 
natty-updates/restricted Translation-en
2011-11-02 08:12:36,014 DEBUG   : Ign http://ftp.heanet.ie 
natty-updates/universe Translation-en
2011-11-02 08:12:36,289 DEBUG   : Reading package lists...
2011-11-02 08:12:36,291 DEBUG   : ['chroot', '/tmp/tmpDvu332', 'apt-get', 
'clean']
2011-11-02 08:12:36,313 DEBUG   : ['umount', '/tmp/tmpDvu332/proc']
2011-11-02 08:12:36,317 DEBUG   : ['umount', '/tmp/tmpDvu332/dev/pts']
2011-11-02 08:12:36,320 DEBUG   : ['umount', '/tmp/tmpDvu332/dev']
2011-11-02 08:12:36,323 INFO    : umount: /tmp/tmpDvu332/dev: device is busy.
2011-11-02 08:12:36,323 INFO    :         (In some cases useful info about 
processes that use
2011-11-02 08:12:36,323 INFO    :          the device is found by lsof(8) or 
fuser(1))
2011-11-02 08:12:36,323 INFO    : Cleaning up
2011-11-02 08:12:36,324 DEBUG   : ['umount', '/tmp/tmpZQTlF8']
2011-11-02 08:12:36,360 ERROR   : Process (['umount', '/tmp/tmpDvu332/dev']) 
returned 1. stdout: , stderr: umount: /tmp/tmpDvu332/dev: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))

Traceback (most recent call last):
  File "/usr/local/bin/vmbuilder", line 24, in <module>
    cli.main()
  File "/usr/local/lib/python2.7/dist-packages/VMBuilder/contrib/cli.py", line 
216, in main
    distro.build_chroot()
  File "/usr/local/lib/python2.7/dist-packages/VMBuilder/distro.py", line 84, 
in build_chroot
    self.call_hooks('configure_os')
  File "/usr/local/lib/python2.7/dist-packages/VMBuilder/distro.py", line 67, 
in call_hooks
    call_hooks(self, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/VMBuilder/util.py", line 165, in 
call_hooks
    getattr(context, func, log_no_such_method)(*args, **kwargs)
  File 
"/usr/local/lib/python2.7/dist-packages/VMBuilder/plugins/ubuntu/distro.py", 
line 155, in configure_os
    self.suite.unmount_dev()
  File 
"/usr/local/lib/python2.7/dist-packages/VMBuilder/plugins/ubuntu/dapper.py", 
line 118, in unmount_dev
    run_cmd('umount', '%s/dev' % self.context.chroot_dir)
  File "/usr/local/lib/python2.7/dist-packages/VMBuilder/util.py", line 120, in 
run_cmd
    raise VMBuilderException, "Process (%s) returned %d. stdout: %s, stderr: 
%s" % (args.__repr__(), status, mystdout.buf, mystderr.buf)
VMBuilder.exception.VMBuilderException: Process (['umount', 
'/tmp/tmpDvu332/dev']) returned 1. stdout: , stderr: umount: 
/tmp/tmpDvu332/dev: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to