Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vmbuilder does not work for ubuntu 18.04 #191

Open
achow101 opened this issue Jul 12, 2018 · 8 comments
Open

vmbuilder does not work for ubuntu 18.04 #191

achow101 opened this issue Jul 12, 2018 · 8 comments

Comments

@achow101
Copy link
Contributor

vmbuilder does not work on ubuntu 18.04 and thus cannot be used to create the kvm base images on ubuntu 18.04. Furthermore, vmbuilder itself has not been substantially updated in several years (latest I could find was 2010). We should migrate away from using vmbuilder or we should package an updated version of vmbuilder and use that.

@achow101
Copy link
Contributor Author

https://github.com/newroco/vmbuilder is a fork of vmbuilder which seems to work for me. We could package it with gitian-builder (in the same way that Bitcoin Core packages leveldb, univalue, etc. as sub-directories in the git tree) and just use it for building the VMs instead of relying on the outdated version.

@josephbisch
Copy link
Collaborator

I had updated the README to point to https://github.com/newroco/vmbuilder, but it looks like I only changed it under the Arch Linux heading, so that Gentoo and Ubuntu still say to use their respective packages.

@maflcko
Copy link

maflcko commented Jul 13, 2018

I believe it is possible to create the base image on another disto and move it over to bionic or whatever your current os is.

@TTcoinDeveloper
Copy link

18.04 takes to long to install in any case slow

@luke-jr
Copy link
Contributor

luke-jr commented Sep 4, 2018

https://github.com/newroco/vmbuilder does NOT work for me, FWIW.

@ultra-pool
Copy link

Fails on ubuntu 14 also

@TTcoinDeveloper
Copy link

It will build on 14.04 are you trying to build a 64 bit vm on a 32 bit machine? I have done this on 14.04 before

@pacepace
Copy link

pacepace commented Apr 17, 2019

I've got it [EDIT: it being the vmbuilder from newroco] working to build Xenial, but it gets hung on umounting when trying to build Bionic. It cannot umount because of this file in the tmp build structure: /%TMP_BUILD_DIR%/tmp/vmbuilder-grub/tmp%RANDOM% (where %TMP_BUILD_DIR% is usually under /tmp and %RANDOM% is a random string of 6 digits).

I cannot remove that file as root and so far have been unable to find what has it open in lsof or fuser. So far I have to reboot to be able to delete. I'm guessing this has to do with a chroot, but I haven't gotten beyond that yet.

For those who wonder, I have the sleep(10) patch in place for both the dev and disk umount, that isn't the issue in this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants