[Bug 218750] devel/dbus: X11 fails to start because /etc/machine-id missing under 10.3 RELEASE 2017Q2

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 24 Dec 2022 05:15:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218750

Tatsuki Makino <tatsuki_makino@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tatsuki_makino@hotmail.com

--- Comment #8 from Tatsuki Makino <tatsuki_makino@hotmail.com> ---
Where does this consider the hard-coded value to be the highest priority?
In the case of dbus-1.14.4, it appears to be hard-coded in the following.

File: dbus-1.14.4/dbus/dbus-sysdeps-unix.c
Function:
dbus_bool_t
_dbus_read_local_machine_uuid (DBusGUID   *machine_id,
                               dbus_bool_t create_if_not_found,
                               DBusError  *error)

DBUS_MACHINE_UUID_FILE is set by configure to the following value.

-DDBUS_MACHINE_UUID_FILE=\""$(localstatedir)/lib/dbus/machine-id"\"

These were found in a trace of dbus-uuidgen --ensure running in
${LOCALBASE}/etc/rc.d/dbus.

I don't like /var/lib either, but if the talk of moving it to /var/db is
adopted, will all these be patched or a symlink-maze :) created?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.