Coder Social home page Coder Social logo

Comments (16)

Stromweld avatar Stromweld commented on August 16, 2024 1

sounds like it. I'm going to close this issue then.

from bento.

karcaw avatar karcaw commented on August 16, 2024

shot-2024-03-29_09-55-38
Looks like a crash on the console.

I poked around in the shell and found that the DNS config is not getting copied in into the /tmp/tmpXXXX/mount directories, such that chrooting in there and running apt-get is failing.

from bento.

Stromweld avatar Stromweld commented on August 16, 2024

did you build and install the latest version of bento?

from bento.

karcaw avatar karcaw commented on August 16, 2024

I have bento 3.0.0, running it directly out of the repository. is there a newer version?

from bento.

karcaw avatar karcaw commented on August 16, 2024

trying bento 4.0.2 now

from bento.

Stromweld avatar Stromweld commented on August 16, 2024

yes it's up to bento 4.0.2 now. If you checkout main and run gem build bento.gemspec then gem install bento-4.0.2.gem that'll install it. There is also a version command now bento version to verify version installed.

from bento.

karcaw avatar karcaw commented on August 16, 2024

The install has the same issue. There just seems to be no DNS config in the chroots under /tmp/tmp*/mount. any idea what part of the installer is supposed to put something there?

from bento.

karcaw avatar karcaw commented on August 16, 2024

VirtualBox_ubuntu-20
it seems there are resolv.conf files, but they point at a stub version, and not a useful one, as it is empty

from bento.

Stromweld avatar Stromweld commented on August 16, 2024

the command you posted shows trying to run it for vitrualbox-iso.vm only but the output says it's running for qemu.vm? When I run the command you posted for virtualbox everything works as expected. libvirt or qemu are still experimental and may still need extra work to get them working for many OS's.

from bento.

karcaw avatar karcaw commented on August 16, 2024

doh.. I'm having the same issue with both of them, I can get you a log from the VirtualBox one as well... the console logs look a little different now that i have installed the new bento:
shot-2024-03-29_15-50-47

from bento.

Stromweld avatar Stromweld commented on August 16, 2024

build log would help

from bento.

karcaw avatar karcaw commented on August 16, 2024

This Build log?
ubuntu.build.log

from bento.

Stromweld avatar Stromweld commented on August 16, 2024

I'm not sure what's going on there. It works on my intel mac mini and on Ubuntu 22.04 github actions machine. https://github.com/chef/bento/actions/runs/8540903336/job/23399029339

from bento.

karcaw avatar karcaw commented on August 16, 2024

what version of virtualbox is on that machine?

from bento.

Stromweld avatar Stromweld commented on August 16, 2024

vbox: 7.0.14
vagrant: 2.4.1
packer: 1.10.2

from bento.

karcaw avatar karcaw commented on August 16, 2024

Ok, I've moved over to a Rocky9 based system to attempt building on, with a fresh git checkout. Seems to be failing in a different place now. Looks like it time related:
2024-04-03T09:02:02-07:00: ==> virtualbox-iso.vm: E: Release file for http://us.archive.ubuntu.com/ubuntu/dists/focal-updates/InRelease is not valid yet (invalid for another 6h 21min 11s). Updates for this repository will not be applied.

So it may just be something about my host box, or VirtualBox config that is causing the timeout

from bento.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.