Re: 'Machine ID' underspecified?
Lawrence D'Oliveiro <ldo-kC51rjc0cqs1dNLGKZg6taU/[email protected]>
| Newsgroups | gmane.comp.freedesktop.dbus |
|---|---|
| Organization | Geek Central |
| Message-ID | <[email protected]> |
On Sat, 05 Dec 2020 15:34:31 +0000, Thomas Kluyver wrote: > The standard org.freedesktop.DBus.Peer interface > (https://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-peer > ) defines a GetMachineId method. The spec says that this returns a > UUID which "must be the same for all processes on a single system at > least until that system next reboots." > > ... > > I looked into the code for the reference implementation. On Unix, it > gets the ID from a compile-time configurable file > (/var/lib/dbus/machine-id on my system) with a hardcoded fallback to > /etc/machine-id: Seems like libdbus is going further than the spec requires, by defining a value that persists across reboots. That doesn’t seem to be necessary for the example use cases described in the spec. _______________________________________________ dbus mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dbus