Am Mittwoch, dem 04.10.2023 um 12:47 +0200 schrieb Vivien Kraus:
> * gnu/services/dbus.scm (dbus-activation): Symlink /var/run/dbus to
> /run/dbus.
> ---
> gnu/services/dbus.scm | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/gnu/services/dbus.scm b/gnu/services/dbus.scm
> index 5a0c634393..80968ac1a4 100644
> --- a/gnu/services/dbus.scm
> +++ b/gnu/services/dbus.scm
> @@ -187,6 +187,7 @@ (define (dbus-activation config)
> ;; This directory contains the daemon's socket so it must
> be
> ;; world-readable.
> (mkdir-p/perms "/var/run/dbus" user #o755))
> + (symlink "/var/run/dbus" "/run/dbus")
>From [1]:
> As documented in the NEWS file in
> https://gitlab.freedesktop.org/dbus/dbus/-/merge_requests/209, it’s
> only valid to use /run – rather than /var/run – for D-Bus if the two
> paths are interoperable. i.e. /var/run should be a symlink to /run,
> and the D-Bus daemon should be configured to put its socket there.
Thus, the order of the two ought to be reversed. Alternatively, we
could add '-Druntime_dir=/var/run' to glib. WDYT?
[1]: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3101