[Pkg-utopia-maintainers] Bug#1040790: installation-reports: ID in /etc/machine-id and /var/lib/dbus/machine-id mismatch on fresh debian 12 installation

Simon McVittie smcv at debian.org
Thu Jul 13 19:22:44 BST 2023


On Mon, 10 Jul 2023 at 17:27:50 +0200, yogg wrote:
> After installation was finished and the system has been restarted the
> files "/etc/machine-id" and "/var/lib/dbus/machine-id" are not linked
> in any way (no soft or hardlink) and the ID inside the files differ from
> each other.

This was a regression in bookworm, thank you for reporting it. A fix is
in unstable, and on its way into testing and a future bookworm stable
update (hopefully as soon as 12.1, which is due in just over a week).

What user-visible symptoms, if any, did this cause for you? The machine
ID can be used by almost anything (in the same way that almost anything
can use the hostname), so it's difficult to get a clear picture of how
bad this is, or how much risk it would be acceptable to take when fixing
this up on existing systems.

> Workaround:
> rm /etc/machine-id /var/lib/dbus/machine-id && dbus-uuidgen --ensure=/etc/machine-id && dbus-uuidgen --ensure

"rm /var/lib/dbus/machine-id && dbus-uuidgen --ensure" would be enough,
in fact.

    smcv



More information about the Pkg-utopia-maintainers mailing list