|
Bugzilla – Full Text Bug Listing |
| Summary: | /var/lib/dbus/machine-id has different value than /etc/machine-id | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 12.3 | Reporter: | daniel frenzel <dgdanielf> |
| Component: | Other | Assignee: | Fridrich Strba <fstrba> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | fstrba, guus.poort, martin.jedamzik |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | generate /var/lib/dbus/machine-id only if /etc/machine-id does not exist | ||
|
Description
daniel frenzel
2013-07-26 14:01:03 UTC
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. |