Skip to content
Snippets Groups Projects
Commit 130c77da authored by Dylan Aïssi's avatar Dylan Aïssi
Browse files

Adjust system bus socket to /run/dbus/system_bus_socket

See https://salsa.debian.org/utopia-team/dbus/-/commit/e3a4c1aec4aa8eaedac0e1bddc383529c86b72c0



The interoperable cross-distro path is /var/run/dbus/system_bus_socket,
so this remains the upstream default for the benefit of distributions
where /var/run and /run are (problematically) not guaranteed to be
equivalent. However, Debian Policy since at least v4.1.5 guarantees
that /var/run is a symlink to /run, and this has been implemented for
several stable releases (since at least initscripts 2.88dsf-29 in 2012,
in the sysvinit case), so it is harmless to prefer the path in /run,
which has advantages in a few corner cases (ability to unmount /var is
the main one) and avoids warnings from systemd.

Signed-off-by: default avatarDylan Aïssi <dylan.aissi@collabora.com>
parent 08ae3b23
No related branches found
No related tags found
1 merge request!310More polkit-parsing.sh cleanup
......@@ -37,7 +37,7 @@ fi
( set +e; sudo ${polkitd} --replace 2>&1 ) | sed 's/^/# /' | tee $TMPFILE &
# Wait for it to start.
gdbus wait --address unix:path=/var/run/dbus/system_bus_socket \
gdbus wait --address unix:path=/run/dbus/system_bus_socket \
org.freedesktop.PolicyKit1
# Query for actions, which forces polkit to parse all the policy files and
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment