[Buildroot] [PATCH 1/1] dbus: fix system_bus_socket location

Jan Kundrát jan.kundrat at cesnet.cz
Fri Feb 9 12:28:59 UTC 2018

> That solution won't work on a rootfs with that is read/write.  My own filing
> system doesn't have a symlink from /var/run to ./run
> Perhaps it's just me?

Hi Adam, according to both D-Bus and systemd upstreams, having separate 
/run from /var/run is broken. New enough systemd also warns against that.

Just changing the D-Bus socket location won't work. My patch links a 
bugreport where people have mentioned that the /var/run/dbus essentially 
cannot change because it's hard-coded in other SW as well.

Can you investigate which part creates /run and /var/run on your 
configuration of buildroot, but with a fresh-from-scratch build? Grepping 
for "/run" in build/packages-file-list.txt should answer that.


More information about the buildroot mailing list