Hello, On Tue, 02 Feb 2021, Dave Howorth wrote:
David Haller <dnh@opensuse.org> wrote:
On Tue, 02 Feb 2021, Carlos E. R. wrote:
On 02/02/2021 13.50, David Haller wrote:
And BTW2: I have this set up:
==== /etc/init.d/boot.local ==== dbus-uuidgen > /etc/machine-id ====
(just symlinking machine-id to /dev/null sadly makes some apps barf)
Who the F came up with that machine-id thing anyway? deadrat again?
What is that thing for? :-? :-o
It's some identifier for your machine. Ah, yes, as I suspected:
https://www.freedesktop.org/software/systemd/man/machine-id.html https://wiki.debian.org/MachineId or generally e.g.: https://www.startpage.com/sp/search?query=/etc/machine-id
What uses it?
Some apps do use it and barf if it's symlinked to /dev/null (i.e. contains nothing).
My "/etc/machine-id" file is dated 2012, and does not contain the same as dbus-uuidgen (I guess I know why)
dbus-uuidgen _generates_ an ID in the required format. Naturally, it'll be (or should be) different! As it seems I need _some_ machine-id (or stuff barfs), I generate a new one on every boot, and as I reboot regularly, that's ok. Otherwise, I'd setup a cron-job to generate one e.g. every hour. Hm. Actually, that's a good idea anyway, fuck the stuff that's using it :) Done:
==== /etc/cron.hourly/gen-machine-id ==== #!/bin/sh dbus-uuidgen > /etc/machine-id ====
BTW: that seems to work just nicely :) I start to wonder about even more frequent updates ;) If I seemingly can't avoid having it, I'll sabotage as much as I can... Me, having a static machine-id? NO Way sirree! And I doubt that such a static ID is conforming to the GDPR/DSGVO, esp. if you, as a user, are not ever asked about it.
*hrhrhr* I'll keep the one in init.d/boot.local, if just for messing with the intention...
[snip]
FWIW, Lennart recently posted this on systemd list
Thank you Dave for digging that up!
} I don't suppose you know what requires /etc/machine-id so early in } the boot?
PID 1 does. [..] Lennart
Alrighty then. No more questions. Case closed. -dnh, eliding a lot ... PS: I don't have anything against systemd as "init" per se, but ... there are consequences. Real bad ones. And /etc/machine-id seems to be just one of them. And JFTR: https://github.com/richfelker/minimal-init (1086 Bytes of code!) And http://ewontfix.com/14 and http://ewontfix.com/15 -- Diese Signatur ist vorübergehend nicht erreichbar. Versuchen Sie es später noch einmal oder hinterlassen Sie eine Nachricht vor dem Signaturtrenner. Piep.