Bugzilla – Bug 831626
/var/lib/dbus/machine-id has different value than /etc/machine-id
Last modified: 2014-03-17 11:04:15 UTC
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.72 Safari/537.36 If using i.e. steam with pulseaudio it is necessary, that the value of /var/lib/dbus/machine-id is the same as /etc/machine-id to work. Otherwise it will not connect to the pulseaudio daemon. Unfortunatly the values of both files are in all OpenSuse 12.3 installs ALWAYS different. It is highly reproducible in all installations I had so far. Furthermore the value of /var/lib/dbus/machine-id seems to be supposed to be the same as /etc/machine-id. A symlink to /etc/machine-id would solve the issue completely. Reproducible: Always Steps to Reproduce: 1.Just install OpenSuse 12.3 2. 3. Actual Results: Different values in both files Expected Results: Same value in both files
Same bug in OpenSuse 13.1. Installed on different PC in a virtual box.
Now, the http://www.freedesktop.org/software/systemd/man/machine-id.html does not specify anywhere that the /etc/machine-id and /var/lib/dbus/machine-id must correspond to each other. So, it is a kind of mistake if a software relies on them being identical. The software normally should assume that they can be different and handle that case graciously.
Created attachment 558883 [details] generate /var/lib/dbus/machine-id only if /etc/machine-id does not exist Nonetheless, since dbus can use /etc/machine-id if /var/lib/dbus/machine-id is not found, we could eventually create the later only if the former does not exist. In the other case, we could let the dbus only use the /etc/machine-id by not providing the /var/lib/dbus/machine-id
Timo?
(In reply to comment #3) > Now, the http://www.freedesktop.org/software/systemd/man/machine-id.html does > not specify anywhere that the /etc/machine-id and /var/lib/dbus/machine-id must > correspond to each other. So, it is a kind of mistake if a software relies on > them being identical. The software normally should assume that they can be > different and handle that case graciously. Might be true. But where is the reason to create two files with different value in the system? I think your suggestion to create the second file only if the first one is not found is the method of choice. Nevertheless a check for same value is advised.
This is an autogenerated message for OBS integration: This bug (831626) was mentioned in https://build.opensuse.org/request/show/202540 Factory / dbus-1
(In reply to comment #2) > Same bug in OpenSuse 13.1. Installed on different PC in a virtual box. Confirmed. Installed openSUSE 13.1 about two weeks ago and installed steam. I had no sound in any game from Valve. What worked for me, delete the dbus one, then create a symlink. sudo ln -s /etc/machine-id /var/lib/dbus/machine-id https://github.com/ValveSoftware/steam-for-linux/issues/1179#issuecomment-13066470 Now I have sound again in all games from Valve. This solution has helped already at least two other 13.1 users.(source openSUSE forum )
I don't understand why it takes so long to change this. I mean really, why do have two files with the same name a different value and two locations?
This issue was fixed in openSUSE 13.1 by a maintenance update. It is also not issue anymore in openSUSE Factory. I am setting this to resolved-fixed.