[Pkg-alsa-devel] Bug#894991: [alsa-utils] Please set XDG_RUNTIME_DIR when calling alsactl

Antonio Russo antonio.e.russo at gmail.com
Thu Apr 5 22:33:21 UTC 2018


Package: alsa-utils
Version: 1.1.3-1
Severity: important
Tags: patch

--- Please enter the report below this line. ---

As already handled in alsactl_home.patch, the HOME
environment variable is set, preventing files from
being spewed into places they should not (see [1-7]).
A similar situation happens (also with pulse),
but the files are placed in /tmp, causing different
problems (see [8,9]).

By setting XDG_RUNTIME_DIR, pulse places these files
in a sane location. The attached patch follows [2],
and creates a new option specifying this location.

Antonio Russo

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=675857
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712980
[3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=779556
[4] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=742388
[5] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=720678
[6] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712980
[7] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684691
[8] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=878401
[9] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561777
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xdg-runtime-dir.patch
Type: text/x-patch
Size: 8138 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-alsa-devel/attachments/20180405/086122f2/attachment.bin>


More information about the Pkg-alsa-devel mailing list