[Bug 1250668] Re: upstart session for dbus has hard coded .cache directory
Simon McVittie
1250668 at bugs.launchpad.net
Fri Feb 12 08:46:34 UTC 2016
> far more complicated than it needs to be
That may have been overstating it; in the absence of systemd-style
socket activation, there's a limit to how much it can be simplified
without having things try to connect to dbus-daemon before it's running
:-(
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dbus in Ubuntu.
https://bugs.launchpad.net/bugs/1250668
Title:
upstart session for dbus has hard coded .cache directory
Status in dbus package in Ubuntu:
Confirmed
Bug description:
Description: Ubuntu 13.10
Release: 13.10
Package: dbus
Architecture: amd64
Version: 1.6.12-0ubuntu10
The file /usr/share/upstart/sessions/dbus.conf contains a hardcoded
path to the .cache directory, making the use of XDG_CACHE_HOME
variable non working.
The fix could to change line
echo "DBUS_SESSION_BUS_ADDRESS=${DBUS_SESSION_BUS_ADDRESS}" >$HOME/.cache/upstart/dbus-session
into
echo "DBUS_SESSION_BUS_ADDRESS=${DBUS_SESSION_BUS_ADDRESS}" >${XDG_CACHE_HOME:-$HOME/.cache}/upstart/dbus-session
I tested it and it works for me...
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/1250668/+subscriptions
More information about the foundations-bugs
mailing list