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

Cuero cuerob at free.fr
Tue Nov 12 23:35:46 UTC 2013


Public bug reported:

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

** Affects: dbus (Ubuntu)
     Importance: Undecided
         Status: New

** Package changed: upstart (Ubuntu) => dbus (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1250668

Title:
  upstart session for dbus has hard coded .cache directory

Status in “dbus” package in Ubuntu:
  New

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