[pulseaudio-tickets] [Bug 48226] Move cookie file to XDG_RUNTIME_DIR

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 3 02:24:47 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=48226

--- Comment #3 from Colin Guthrie <fdo at colin.guthr.ie> 2012-04-03 02:24:47 PDT ---
Sorry for the spam...

I've realised my concern about updating ~/.pulse-cookie in a copying it about
context is unfounded... the same issue already exists with the X11 publication
(PULSE_COOKIE X11 root window property).

So I guess I'd support the following order for searching for the cookie to use:
env var, x11 prop, home dir, runtime dir, and if none found, generate one in
runtime dir.

It does still require a stat on $HOME, but that should be more lock friendly
overall.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the pulseaudio-bugs mailing list