I added this corresponding line:

   def unmount_dev(self):
        self.context.cancel_cleanup(self.unmount_dev)
        run_cmd('chroot', '%s' % self.context.chroot_dir, 
'/etc/init.d/cron','stop') // <-- HERE
        run_cmd('umount', '%s/dev' % self.context.chroot_dir)

That seems to be a temporary workaround for the problem I was seeing
(same as @rchilliard -- lsof showed a cron open file to /dev/null).

I also had this working up until several days ago without anything else
changing and then it suddenly broke.

-- 
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/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-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to