[Bug 1250668] Re: upstart session for dbus has hard coded .cache directory

Cuero cuerob at free.fr
Thu Mar 20 09:48:54 UTC 2014


I had changed to upstart package as this file is indeed in the upstart package. Is there a reason why you moved it back to dbus ?
dpkg -L upsstart list this file /usr/share/upstart/sessions/dbus.conf

-- 
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