Activity log for bug #410886

Date Who What changed Old value New value Message
2009-08-08 23:18:55 Andreas Heck bug added bug
2009-08-09 16:27:16 Andreas Heck description If you run vmbuilder on a fresh karmic installation you get the following error message at the end of the vmbuilder run: 2009-08-09 01:06:56,792 INFO : Cleaning up Traceback (most recent call last): File "/home/ahe/Desktop/Projekte/VMbuilder/vmbuilder-gui/vmbuilder", line 29, in <module> VMBuilder.run() File "/home/ahe/Desktop/Projekte/VMbuilder/vmbuilder-gui/VMBuilder/__init__.py", line 65, in run frontend.run() File "/home/ahe/Desktop/Projekte/VMbuilder/vmbuilder-gui/VMBuilder/plugins/cli/__init__.py", line 70, in run vm.create() File "/home/ahe/Desktop/Projekte/VMbuilder/vmbuilder-gui/VMBuilder/vm.py", line 483, in create self.install() File "/home/ahe/Desktop/Projekte/VMbuilder/vmbuilder-gui/VMBuilder/vm.py", line 416, in install self.distro.install_bootloader() File "/home/ahe/Desktop/Projekte/VMbuilder/vmbuilder-gui/VMBuilder/plugins/ubuntu/distro.py", line 173, in install_bootloader EOT''') File "/home/ahe/Desktop/Projekte/VMbuilder/vmbuilder-gui/VMBuilder/util.py", line 105, in run_cmd proc = subprocess.Popen(args, stdin=stdin_arg, stderr=subprocess.PIPE, stdout=subprocess.PIPE, env=proc_env) File "/usr/lib/python2.6/subprocess.py", line 595, in __init__ errread, errwrite) File "/usr/lib/python2.6/subprocess.py", line 1092, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory A quick look at VMBuilder/vm.py shows that it tries to call the program "grub" but this program doesn't exist with grub2. If you run vmbuilder on a fresh karmic installation you get the following error message at the end of the vmbuilder run: 2009-08-09 01:06:56,792 INFO : Cleaning up Traceback (most recent call last): File "/home/ahe/Desktop/Projekte/VMbuilder/vmbuilder-gui/vmbuilder", line 29, in <module> VMBuilder.run() File "/home/ahe/Desktop/Projekte/VMbuilder/vmbuilder-gui/VMBuilder/__init__.py", line 65, in run frontend.run() File "/home/ahe/Desktop/Projekte/VMbuilder/vmbuilder-gui/VMBuilder/plugins/cli/__init__.py", line 70, in run vm.create() File "/home/ahe/Desktop/Projekte/VMbuilder/vmbuilder-gui/VMBuilder/vm.py", line 483, in create self.install() File "/home/ahe/Desktop/Projekte/VMbuilder/vmbuilder-gui/VMBuilder/vm.py", line 416, in install self.distro.install_bootloader() File "/home/ahe/Desktop/Projekte/VMbuilder/vmbuilder-gui/VMBuilder/plugins/ubuntu/distro.py", line 173, in install_bootloader EOT''') File "/home/ahe/Desktop/Projekte/VMbuilder/vmbuilder-gui/VMBuilder/util.py", line 105, in run_cmd proc = subprocess.Popen(args, stdin=stdin_arg, stderr=subprocess.PIPE, stdout=subprocess.PIPE, env=proc_env) File "/usr/lib/python2.6/subprocess.py", line 595, in __init__ errread, errwrite) File "/usr/lib/python2.6/subprocess.py", line 1092, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory A quick look at VMBuilder/vm.py shows that it tries to call the program "grub" but this program doesn't exist with grub2. The main problem here is that you can't have both of the packages grub and grub-pc installed at the same time since they replace each other. It looks like the maintainers of the grub packages didn't think about the not so common use case where you install a bootmanager package but don't want it to boot your machine. But if you have a freshly installed karmic machine you need both bootloader packages to be present or otherwise you couldn't create any VMs with an Ubuntu version older than karmic, even if vmbuilder supported grub2. A similar problem would occur, if you used an PC with EFI and the EFI version of grub2 so that you needed the PC version of grub2 to install the bootloader of the virtual machine.
2009-09-11 00:12:58 Dustin Kirkland  vmbuilder: status New Confirmed
2009-09-11 00:22:50 Dustin Kirkland  branch linked lp:~kirkland/vmbuilder/410886
2009-09-11 00:23:10 Dustin Kirkland  branch unlinked lp:~kirkland/vmbuilder/410886
2009-09-11 00:24:07 Launchpad Janitor branch linked lp:~kirkland/vmbuilder/410886
2009-09-12 00:15:15 Dustin Kirkland  bug task added vm-builder (Ubuntu)
2009-09-12 00:15:26 Dustin Kirkland  vm-builder (Ubuntu): status New Confirmed
2009-09-12 00:15:31 Dustin Kirkland  vm-builder (Ubuntu): importance Undecided High
2009-09-12 00:15:40 Dustin Kirkland  vm-builder (Ubuntu): milestone karmic-alpha-6
2009-09-12 00:15:49 Dustin Kirkland  vm-builder (Ubuntu): milestone karmic-alpha-6 ubuntu-9.10-beta
2009-09-18 15:12:52 Thierry Carrez bug task added vm-builder (Ubuntu Karmic)
2009-09-18 15:13:13 Thierry Carrez vm-builder (Ubuntu Karmic): milestone ubuntu-9.10-beta
2009-09-18 15:13:13 Thierry Carrez vm-builder (Ubuntu Karmic): assignee Soren Hansen (soren)
2009-10-05 11:08:10 Launchpad Janitor branch linked lp:~cjwatson/vmbuilder/chroot-grub
2009-10-08 13:24:46 Soren Hansen vm-builder (Ubuntu Karmic): assignee Soren Hansen (soren) Colin Watson (cjwatson)
2009-10-08 16:10:44 Maximilian Mill attachment added vm-builder-debug-grub.log http://launchpadlibrarian.net/33306695/vm-builder-debug-grub.log
2009-10-17 22:42:05 Arnaud removed subscriber Arnaud
2009-10-20 15:18:00 Matt Zimmerman vm-builder (Ubuntu Karmic): status Confirmed Triaged
2009-10-20 15:18:06 Matt Zimmerman vm-builder (Ubuntu Karmic): assignee Colin Watson (cjwatson) Soren Hansen (soren)
2009-10-20 15:18:46 Matt Zimmerman vm-builder (Ubuntu Karmic): milestone ubuntu-9.10
2009-10-22 17:18:37 Launchpad Janitor vm-builder (Ubuntu Karmic): status Triaged Fix Released
2009-10-25 15:10:02 Soren Hansen vmbuilder: status Confirmed Fix Released
2009-11-06 07:21:12 Launchpad Janitor branch linked lp:ubuntu/vm-builder