[Pkg-utopia-maintainers] Bug#857678: use /run prefix in systemd socket unit

Simon McVittie smcv at debian.org
Mon Mar 13 22:11:42 UTC 2017


On Mon, 13 Mar 2017 at 21:58:46 +0100, cgzones wrote:
> Since recently the reference policy defines the file contexts with
> /run prefixes [1] and only supports /var/run via a backward
> compatibility alias.

Is that backwards compatibility alias available in the stretch version
of the reference policy?

How old is the first reference policy where the /run version works?

How far in the future is the backwards compatibility alias expected to
go away?

> Please alter the path from /var/run/dbus/system_bus_socket to
> /run/dbus/system_bus_socket in /usr/lib/systemd/system/dbus.socket to
> avoid wrong file contexts in the future.

For better or worse, the canonical, interoperable path for the system
bus socket across multiple OS distributions is
/var/run/dbus/system_bus_socket (it has been that since long before
/run was widespread). If /var/run is equivalent to /run, then it shouldn't
matter either way. If /var/run is not equivalent to /run, then the version
we should probably prefer is /var/run.

    S



More information about the Pkg-utopia-maintainers mailing list