ubuntu-23.10-preinstalled-server-arm64+raspi.img contains pre-seeded machine-id

Bug #2039364 reported by @AT
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu
New
Undecided
Unassigned

Bug Description

Ubuntu mantic-server-daily and 23.10 server Raspberry Pi preinstalled image has some issue that breaks some deployments. Image contains pre-seeded "/etc/machine-id" and /var/lib/dbus/machine-id files. This means all instances deployed from this image will have the same machine-id and all randomly generated attributes based on machine-id.
Related to https://man7.org/linux/man-pages/man5/machine-id.5.html, machine-id file must be empty, or contain string "uninitialized" at first boot to generate unique machine-id, or /etc/machine-id should be empty in case of network boot.

In my case, all systems deployed using 23.10 image generate the same MAC addresses for network bridges with the same names, making them inaccessible due to MAC address conflicts.

I suggest to update image building process to seed /etc/machine-id file with "uninitialized\n" string and remove /var/lib/dbus/machine-id from the image.

P.S.
ubuntu-22.04.3-preinstalled-server-arm64+raspi.img has /etc/machine-id file with empty content.

Tags: bot-comment
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Libera.chat.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/2039364/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.