dbus session file contains wrong DBUS_SESSION_BUS_ADDRESS

Bug #1120526 reported by flux242
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
dbus (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

DBUS_SESSION_BUS_ADDRESS set in my environment does not equal to the same variable stored in a session file:

alex@ubuntu:~$ export | sed -nr 's/.*(DBUS.*$)/\1/p';cat ~/.dbus/session-bus/*-0|grep ^DBUS_SESSION_BUS_ADDRESS
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-Bu4OYHdSFn,guid=f7abf2c2b9d6766557e8af8751165edd"
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-NbHVDbZxgk,guid=2f3019531be02ea75556ae3451165edd

(only one file exist in the ~/.dbus/session-bus).

In 12.04 they were the same
This bug prevent dbus-send command to work if started by a cron.

dbus-x11 - 1.6.4-1ubuntu4

alex@ubuntu:~$ lsb_release -rd
Description: Ubuntu 12.10
Release: 12.10

affects: ubuntu → dbus (Ubuntu)
Revision history for this message
flux242 (flux242) wrote :

This bug should be closed because I canno't reproduce it any more. Now it seems to work correctly each time I restart my computer. And unfortunatelly I canno't say what is was the cause for this stange behavior

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in dbus (Ubuntu):
status: New → Confirmed
Revision history for this message
Gerrit Addiks (addiks) wrote :

I now have the exact same effect. Rebooting does not help.

Revision history for this message
Gerrit Addiks (addiks) wrote :

I'm on 13.04, by the way.

Revision history for this message
flux242 (flux242) wrote :

almost 2 years later still have the problem:

$ (env; cat ~/.dbus/session-bus/$(cat /var/lib/dbus/machine-id)-0 )|awk -F',' '/^DBUS_SESSION_BUS_ADDRESS/ {print $1}'
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-jYz33365w2
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-Xjd2ntrMtE

two lines should be equal.

dbus-x11 1.6.18-0ubuntu4.3

$ lsb_release -rd
Description: Ubuntu 14.04.1 LTS
Release: 14.04

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.