Comments (8)
@ladar looks like this hasn't been released yet based on looking at 4.2.6...master given that 4.2.6 is the latest available for the boxes in https://app.vagrantup.com/generic. Should there be one soon enough? Looks like it's also after 4.2.8 which didn't appear for the vagrant boxes either, but did for the docker ones.
from robox.
It takes between 48 and 72 hours to build all of the boxes at this point, depending on the hypervisor (each platform has a blade server dedicated to building just those box files, or in the case of Parallels, a Mac mini). Once the build is finished, I have to follow up and look for/resolve any failures. That's why there is usually a lag between when I push a new tag/version to the repo, and when the box files end up on Vagrant Cloud.
I often find/fix problems after a build has been kicked off, like with this issue, but unless it's super critical I usually don't go back and remove/rebuild the affected boxes. As a result a fix might end up being applied to one platform, but not another. In this case there was was an issue with the blade used to build the Docker images, so I used a robot typically used to build another platform, once it finished.
Hopefully I'll be able to find someone willing to donate newer/faster blades at some point, so I can get the build/release cycle back to 24 hours (or less). And if it's a lot less, add more distros/arches and/or specialized variants, like boxes with a graphical desktop (right now only the Magma developer box includes a GUI), etc.
from robox.
This also seems to affect (at least) generic/ubuntu2210
from robox.
Hi @davehewitt thanks for catching this. We have the machine.sh script, which is one of the few "common" where we try to get away with a single script for every box, and it should be truncating /etc/machine-id. So I'm wondering why /var/lib/dbus/machine-id
isn't getting truncated And/or more importantly the proper fix is. Can we add a check for the /var/lib/dbus/machine-id
file and remove or truncate it as well?
I'm going to try and troubleshoot the issue now, before I kickoff the 4.2.8 build run, but I might run out of time.
from robox.
So I'm looking at the 4.2.6 images, and it looks liike the /etc/machine-id file is being reset. What's strange, is the /var/lib/dbus/machine-id
file is NOT a symlink or hardlink to the /etc/machine-id
file, but yet it still appears to hold the same value. And at least according to the metadata, the dbus version hasn't been modified since the the box was built.
I'm wondering if what's really happening is the the machine id generation process is broken, and it's generating the same :random" value multiple times (ie. during the box build process, and then again when a box is cloned cloned). Anybody have a thought on this?
root@ubuntu2204:~# stat /var/lib/dbus/machine-id
File: /var/lib/dbus/machine-id
Size: 33 Blocks: 8 IO Block: 4096 regular file
Device: fd00h/64768d Inode: 3671148 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2022-12-08 07:28:01.245916803 +0000
Modify: 2022-11-30 01:50:51.253914374 +0000
Change: 2022-11-30 01:50:51.257914381 +0000
Birth: 2022-11-30 01:50:51.253914374 +0000
root@ubuntu2204:~# stat /etc/machine-id
File: /etc/machine-id
Size: 33 Blocks: 8 IO Block: 4096 regular file
Device: fd00h/64768d Inode: 1442489 Links: 1
Access: (0444/-r--r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2022-12-08 06:27:52.176000000 +0000
Modify: 2022-12-08 06:27:52.164000000 +0000
Change: 2022-12-08 06:27:52.164000000 +0000
Birth: 2022-11-30 01:44:43.533016426 +0000
root@ubuntu2204:~# cat /etc/machine-id
9119b8e5947f4efb83c018b73cf9d13e
root@ubuntu2204:~# cat /var/lib/dbus/machine-id
9119b8e5947f4efb83c018b73cf9d13e
from robox.
Interesting, I did an experiment, and truncated just /etc/machine-id
and rebooted. The same value popped up after the reboot. Then I tried truncating both /etc/machine-id
and /var/lib/dbus/machine-id
and rebooted. That led to a new value.
from robox.
And I think I found the answer buried in a mac page:
When a machine is booted with systemd(1) the ID of the machine will be established. If systemd.machine_id= or --machine-id= options (see first section) are specified, this value will be used. Otherwise, the value in /etc/machine-id will be used. If this file is empty or missing, systemd will attempt to use the D-Bus machine ID from /var/lib/dbus/machine-id, the value of the kernel command line option container_uuid, the KVM DMI product_uuid or the devicetree vm,uuid (on KVM systems), and finally a randomly generated UUID.
from robox.
@electrofelix The commit with the fix is in 4.2.10
but there's no 4.2.10
version on the Vagrant hub. generic/ubuntu
boxes to the old 4.1.8
version that the OP mentioned.
from robox.
Related Issues (20)
- Fedora 37 is CentOS 8 HOT 3
- Cannot install Docker on generic/alpine317 due to connection issue on macOS
- VMware Fusion boxes? HOT 1
- Can not create Ubuntu 2004 Box
- Cloud-Init support
- Alpine 3.18 vagrant hyper-v box request. HOT 4
- Cannot SHH into OpenBSD Using Private Key Only
- openSUSE 15.5 released HOT 1
- Lavabit.com requesting refund
- generic/ubuntu2004 fails to install NFS client for synced_folders HOT 1
- rocky 9 - authconfig replaced by authselect in kickstart config HOT 1
- generic/debian boxes have fixed DNS servers when used in Vagrant with libvirt HOT 4
- debian9 box (4.3.0): non-working security apt source HOT 6
- checksum error in vagrant box download of generic/freebsd13 HOT 2
- set MIN_REQUIRED_VAGRANT_VERSION? HOT 4
- Ubuntu 22.04 initial up - systemd-networkd timeout (additional networks) HOT 1
- Several setup tasks not executed for fedora38|39 with provider vmware HOT 1
- Alpine libvirt boxes don't boot
- Request: maestro box
- apt-get upgrade on Ubuntu 20.04 box fails because there is not enough space in /boot
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
đ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google â¤ī¸ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from robox.