[systemd-devel] default dbus socket path being /run
Lennart Poettering
lennart at poettering.net
Tue Dec 17 11:26:18 PST 2013
On Tue, 17.12.13 20:23, Umut Tezduyar Lindskog (umut.tezduyar at axis.com) wrote:
> Hi,
>
> Now that dbus sockets are by default expected to be in /run by systemd; /var/run by other dbus libraries, we have to use env variables to tell one of them the correct socket path.
>
> Both systemd and glib (gio) are hardcoding the default dbus socket path and having an override with environment variable. Since the default values for both libraries are different, we have to specify either systemd's applications or glibs applications the correct dbus socket.
>
> Wouldn't it be the best to make default dbus socket path a ./configure option? Or maybe ask dbus with pkgconf first and fall back to a default value?
/var/run is the legacy alias for /run. In systemd we won't use /var/run
ever, and we suggest that distros should just symlink /var/run to /run,
and most do. Which means that the two paths are pretty much equivalent...
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list