[Bug 1250668] Re: upstart session for dbus has hard coded .cache directory
Cuero
cuerob at free.fr
Thu Mar 20 10:55:13 UTC 2014
Ha yes you are totally right, sorry for the mistake. I got confused, some of those conf file are provided by upstart (like the one for logrotate).
Sorry for the confusion.
I actually changed the package because I figured that there was no activity at all on that bug even though it seemed a quick/obvious fix.
I should probably provide a patch rather than an textual description.
Thx, anyway.
--
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