Bug 88834

Summary: When looking for the machine-id file, /etc/machine-id should be checked regardless of sysconfdir
Product: PulseAudio Reporter: Tanu Kaskinen <tanuk>
Component: daemonAssignee: pulseaudio-bugs
Status: RESOLVED FIXED QA Contact: pulseaudio-bugs
Severity: normal    
Priority: medium CC: lennart
Version: unspecifiedKeywords: love
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: patch to add fallbacks

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.