Bug#858335: systemd: should usr /run instead of /var/run

Russell Coker russell at coker.com.au
Wed Mar 22 07:42:00 GMT 2017


On Tuesday, 21 March 2017 10:43:57 AM AEDT Felipe Sateler wrote:
> > # strings /usr/lib/systemd/libsystemd-shared-232.so|grep var.run.dbus
> > kernel:path=/sys/fs/kdbus/0-system/bus;unix:path=/var/run/dbus/system_bus_
> > socket
> As you already know, this is the canonical address and has not been
> changed by the dbus maintainers[1]. I don't think we should change
> this until dbus itself has moved over.
> 
> I'm not familiar with SELinux, but this string you have reported is
> never used to create a file AFAICT. Systemd (sd-bus, actually) only
> uses this to attempt connecting to the system dbus daemon. Is it still
> a problem in this case?
> 
> [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783321

The ways that this works is complex, determining which strings are used for 
which purpose is difficult.  If we make such changes we need to make them 
globally via search and replace not try and hunt down which occurances of the 
strings are used for create and which are used for access.  So I just did a 
grep in /usr/lib for matches.

Also there are people reporting issues related to non-creation access of that 
path.

-- 
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/




More information about the Pkg-systemd-maintainers mailing list