https://bugzilla.novell.com/show_bug.cgi?id=729536 https://bugzilla.novell.com/show_bug.cgi?id=729536#c0 Summary: dbus machine IDs are not unique Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86-64 OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: R.Vickers@cs.rhul.ac.uk QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 The machine IDs used by dbus are not unique, i.e. different machines frequently share the same ID. As a result, if you ssh from one such machine to another any application which requires a session dbus will fail. It seems that /var/lib/dbus/machine-id is never regenerated after system installation. Some of the ones on our network are 4 years old, so it seems to survive operating system upgrades as well. Here is one that appears on more than one of our machines: $ ls -l /var/lib/dbus/machine-id -rw-r--r-- 1 root root 33 Nov 2 2009 /var/lib/dbus/machine-id $ cat /var/lib/dbus/machine-id bb8a098b5d04224d403dcb714aef6f78 Here is what happens after you ssh from one to the other: $ emacs GConf Error: Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: Error connecting: Connection refused) $uuid=$(dbus-uuidgen --get) $export DBUS_VERBOSE=1 # be verbose $dbus-launch --autolaunch $uuid --close-stderr 29391: Autolaunch enabled (using X11). 29391: --exit-with-session automatically enabled 29391: Connected to X11 display 'localhost:10.0' 29391: dbus-daemon is already running. Returning existing parameters. DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-RaQbghWqzw,guid=2859ef82794cb0ed65631c490000005f DBUS_SESSION_BUS_PID=5257 DBUS_SESSION_BUS_WINDOWID=8388609 29391: dbus-launch exiting (The process with PID 5257 is actually running on the other machine). I believe the machine ID should be regenerated very early in the boot process, but it should not be regenerated by /etc/init.d/dbus because you do not want it to change if the system dbus is restarted. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.