MESSAGE
DATE | 2020-12-02 |
FROM | Yunxiang Li via artix-general
|
SUBJECT | Re: [Hangout - NYLXS] [artix-general] Fixes for dbus-s6
|
> The dbus-uuidgen page says: > > The important properties of the machine UUID are that 1) it remains > unchanged until the next reboot > https://dbus.freedesktop.org/doc/dbus-uuidgen.1.html > > So it should be fine for it to change on every reboot. I'm not sure what > pulseaudio setting exactly expects the UUID to always be the same, but > that doesn't sound like correct behavior. Technically, the script as it > is will always overwrite machine-id if you bring down and back up > (something you probably shouldn't do but still). That could be improved.
The machine-id man page thinks differently > The machine ID is usually generated from a random source during system > installation or first boot and stays constant for all subsequent boots. > Optionally, for stateless systems, it is generated during runtime during early > boot if necessary. https://www.freedesktop.org/software/systemd/man/machine-id.html Given that it is already used this way, I think the correct thing would be to not set it every boot.
> That being said, the page does also mention using > /var/lib/dbus/machine-id. I'm not sure what Arch does here exactly. It > seems like a good idea to try and implement it somehow though.
My impression is that /var/lib/dbus/machine-id is a dbus thing, and systemd took it over to /etc/machine-id. systemd recommends to symlink the otherway around, probably makes a little bit more sense now that I think about it, given that /etc is probably mounted earlier than /var.
-- artix-general mailing list artix-general-at-artixlinux.org https://lists.artixlinux.org/listinfo/artix-general _______________________________________________ Hangout mailing list Hangout-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/hangout
|
|