[Bug 1250668] Re: upstart session for dbus has hard coded .cache directory
Simon McVittie
1250668 at bugs.launchpad.net
Fri Feb 12 08:15:37 UTC 2016
As of dbus/1.10.6-1ubuntu2 (the relevant change seems to have been in
1.8.12-1ubuntu1), the Upstart job creates that directory but then
doesn't do anything with it, because the session bus address is now
stored in XDG_RUNTIME_DIR.
This is one of several ways in which the Upstart job is far more
complicated than it needs to be, for which I'll open a separate bug.
--
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