Dbus change of location from system_bus_socket

Mark Hieber <[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <CAPxJQ9G3B=nG-bxeD2KTGeo+PD0Pakpv2SDcNq=iU3BZ6Pq1Dw@mail.gmail.com>
I am running Centos 7 in a virtual machine. We use systemctl and
hostnamectl, so dbus is included when we build our image as a dependency of
systemd.

In the past, we used dbus version 1.6.12 and systemd version 219. Now when
I build my image I am using dbus v 1.10.24 and systemd v 219. However, this
seems to have introduced a breaking change, as system_bus_socket is now
installed in /run/dbus instead of in /var/run/dbus. This means that
commands like hostnamectl and certain systems in systemctl cannot run,
since they do not find the dbus socket.

My question is why was the system_bus_socket created where it was? Is this
a change of behavior?

In order to make things work, I created a symlink from /run/dbus to
/var/run/dbus. Is this the recommended approach to solve this issue?


The following packages were installed:
dbus x86_64 1:1.10.24-7.el7 centos-os 245 k
dbus-glib x86_64 0.100-7.el7 centos-os 102 k
dbus-libs x86_64 1:1.10.24-7.el7 centos-os 169 k
dbus-python x86_64 1.1.1-9.el7 centos-os 206 k

_______________________________________________
dbus mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dbus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.