Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Aug 2021 03:28:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        desktop@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 257977] devel/glib20: unbreak machine-id lookup after 2.68 update
Message-ID:  <bug-257977-39348-TcE5oQe7la@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-257977-39348@https.bugs.freebsd.org/bugzilla/>
References:  <bug-257977-39348@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-desktop (Team)
<desktop@FreeBSD.org> for maintainer-feedback:
Bug 257977: devel/glib20: unbreak machine-id lookup after 2.68 update
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257977



--- Description ---
Regressed by https://gitlab.gnome.org/GNOME/glib/-/commit/05ff2f877ca3. glib
bindings for dbus no longer work without /etc/machine-id symlink.

$ pkg install gtk4
$ service dbus onestart
$ cat /var/lib/dbus/machine-id
123456789012345678901234567890123
$ gtk4-demo
Gdk-Message: Failed to get file transfer portal: Cannot spawn a message bus
without a machine-id: Unable to load /var/local/lib/dbus/machine-id or
/etc/machine-id: Failed to open file =E2=80=9C/var/local/lib/dbus/machine-i=
d=E2=80=9D: No such
file or directory
^C

$ pkg install squeekboard
$ squeekboard &
Can't connect to the bus: Cannot spawn a message bus without a machine-id:
Unable to load /var/local/lib/dbus/machine-id or /etc/machine-id: Failed to
open file =E2=80=9C/var/local/lib/dbus/machine-id=E2=80=9D: No such file or=
 directory.
Visibility switching unavailable.
** (squeekboard:1234): WARNING **: Could not connect to session manager: Ca=
nnot
spawn a message bus without a machine-id: Unable to load
/var/local/lib/dbus/machine-id or /etc/machine-id: Failed to open file
=E2=80=9C/var/local/lib/dbus/machine-id=E2=80=9D: No such file or directory
$ gdbus call --session \
	     --dest=3Dsm.puri.OSK0 \
	     --object-path=3D/sm/puri/OSK0 \
	     --method=3Dsm.puri.OSK0.SetVisible \
	     true
Error connecting: Cannot spawn a message bus without a machine-id: Unable to
load /var/local/lib/dbus/machine-id or /etc/machine-id: Failed to open file
=E2=80=9C/var/local/lib/dbus/machine-id=E2=80=9D: No such file or directory



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257977-39348-TcE5oQe7la>