On Mon, 02.06.14 13:31, Simon McVittie ([email protected]) wrote:

> On 01/06/14 20:03, Mantas Mikulėnas wrote:
> > Out of curiosity, wouldn't the existing
> > org.freedesktop.DBus.Peer.GetMachineId() work here?
> 
> In principle Peer.GetMachineId() returns the D-Bus machine ID
> /var/lib/dbus/machine-id, which in rare cases won't match the systemd
> machine ID /etc/machine-id, unfortunately. (Perhaps systemd's Peer
> implementation prefers the systemd machine ID anyway, though.)

yes, we prefer /etc/machine-id.

If the ids differ then that's a bug really, and we shouldn't try to work
around it...

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to