[Pkg-utopia-maintainers] Bug#1040790: installation-reports: ID in /etc/machine-id and /var/lib/dbus/machine-id mismatch on fresh debian 12 installation
yogg
debbug at x-net.at
Fri Jul 14 09:07:29 BST 2023
Hi
I created a Debian 12 VM template for our systems and saw that the id's
did not match (I checked them because I have to recreate them if the
template gets copied).
So I have not seen any "user-visible symptoms" it was simply luck that I
checked the files.
At first I thought there was a change and the id's need to be different
in Debian 12, so I read the docs and found nothing.
Then I asked in IRC and then I created the bug entry.
Regards,
yogg
Am 13.07.23 um 20:22 schrieb Simon McVittie:
> 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