After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 723867 - Cannot find D-Bus machine-id file on FreeBSD
Cannot find D-Bus machine-id file on FreeBSD
Status: RESOLVED OBSOLETE
Product: glib
Classification: Platform
Component: gdbus
unspecified
Other FreeBSD
: Normal normal
: ---
Assigned To: David Zeuthen (not reading bugmail)
gtkdev
Depends on:
Blocks:
 
 
Reported: 2014-02-07 17:38 UTC by Ting-Wei Lan
Modified: 2017-04-10 08:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ting-Wei Lan 2014-02-07 17:38:03 UTC
GDBus hardcodes the D-Bus machine-id file path as /etc/machine-id and /var/lib/dbus/machine-id. However, FreeBSD uses /var/db/dbus/machine-id as the D-Bus machine-id file, so GLib cannot find it.
Comment 1 David Zeuthen (not reading bugmail) 2014-02-07 18:47:06 UTC
There's no hard-coding here as the file /var/lib/dbus/machine-id (now superseeded by /etc/machine-id) is part of the interface. I think the solution is for FreeBSD to either fix its dbus packages or make /etc/machine-id be a symlink pointing to /var/db/dbus/machine-id.

This should probably be closed NOTABUG or NOTOURBUG.
Comment 2 Allison Karlitskaya (desrt) 2014-02-08 00:47:42 UTC
David: I originally thought that this was the case as well ("part of the interface").  I was quite surprised to discover that there is no mention of machine-id in the D-Bus specification at all...
Comment 3 David Zeuthen (not reading bugmail) 2014-02-08 01:14:22 UTC
Yes, the D-Bus specification is very much half-finished, unfortunately. I think this is a case of "oops, this should have been in the spec but it isn't, doh!" instead of "this should not be in the spec".
Comment 4 Allison Karlitskaya (desrt) 2014-02-10 16:15:28 UTC
So we should get it in the spec :)

I have a hard time telling FreeBSD to change how they do something on the say-so of "we meant to put this in the spec, but just forgot".
Comment 5 Ting-Wei Lan 2017-04-10 08:58:24 UTC
D-Bus package in FreeBSD was updated to use /var/lib/dbus/machine-id:
https://svnweb.freebsd.org/changeset/ports/431187

I think we can close this bug now.