Bug 88834 - When looking for the machine-id file, /etc/machine-id should be checked regardless of sysconfdir
Summary: When looking for the machine-id file, /etc/machine-id should be checked regar...
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: daemon (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
Keywords: love
Depends on:
Reported: 2015-01-27 18:12 UTC by Tanu Kaskinen
Modified: 2015-08-12 09:42 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:

patch to add fallbacks (1.65 KB, patch)
2015-06-09 19:55 UTC, Peter Meerwald
Details | Splinter Review

Description Tanu Kaskinen 2015-01-27 18:12:30 UTC
By default sysconfdir is /usr/local/etc, which causes PulseAudio to fail to find the machine-id. If ${sysconfdir}/machine-id is found, it should be used, but I think it would be good to fall back to /etc/machine-id if ${sysconfdir}/machine-id is not found.
Comment 1 Peter Meerwald 2015-06-09 19:55:09 UTC
Created attachment 116402 [details] [review]
patch to add fallbacks
Comment 2 Peter Meerwald 2015-06-09 19:56:00 UTC
add fallbacks to /etc/machine-id and /var/lib/dbus/machine-id
Comment 3 Tanu Kaskinen 2015-08-12 09:42:17 UTC
This is fixed now in the "next" branch.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.