dbus de-prioritizes XDG_DATA_HOME -- can't customize user session
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
D-Bus |
Fix Released
|
Medium
|
|||
dbus (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: dbus
I tried to over-ride /usr/share/
The XDG Base Directory Specification clearly states in
http://
"The base directory defined by $XDG_DATA_HOME is considered more important than any of the base directories defined by $XDG_DATA_DIRS. The base directory defined by $XDG_CONFIG_HOME is considered more important than any of the base directories defined by $XDG_CONFIG_DIRS."
Yet the relevant source code in dbus looks like (dbus/dbus-
if (!_dbus_
goto oom;
/* ... */
if (!_dbus_
goto oom;
i.e. XDG_DATA_HOME is used AFTER XDG_DATA_DIRS
This is a very serious issue that prevents the user from overriding misguided system-wide configuration.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: dbus 1.2.16-2ubuntu4.1
ProcVersionSign
Uname: Linux 2.6.31-11-rt i686
Architecture: i386
Date: Mon Feb 28 12:23:48 2011
InstallationMedia: Xubuntu 10.04 "Lucid Lynx" - Release i386 (20100429)
ProcEnviron:
LC_COLLATE=C
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: dbus
Changed in dbus: | |
importance: | Unknown → High |
status: | Unknown → Invalid |
Changed in dbus: | |
importance: | High → Unknown |
status: | Invalid → Unknown |
Changed in dbus: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
The bug obviously affects Maverick and Natty as well. It has been fixed in GIT and will be in 1.4.8:
https:/ /bugs.freedeskt op.org/ show_bug. cgi?id= 35569
I hope this fix will be backported to 1.4.6 (on freedesktop.org and/or here), because it would be quite annoying to have to deal with buggy Ubuntus for years to come now.