[Pkg-alsa-devel] Bug#675857: pulseaudio creates .config/pulse in a root directory

Niels Thykier niels at thykier.net
Mon Sep 24 07:24:00 BST 2018


On Sun, 7 Jan 2018 14:33:51 +0000 Simon McVittie <smcv at debian.org> wrote:
> Control: retitle 675857 /etc/init.d/alsa-utils creates /.config/pulse under sysvinit
> 
> Forwarding the text of Daniel Reichelt's message reopening RC bug
> #675857 (and its merged duplicates) to the bug, so that it's visible
> to the alsa-utils maintainers and on the BTS without rummaging in "Show
> full text".
> 
> I'm also retitling it to clarify which systems it affects (those that
> boot with sysvinit or similar, but not systemd). I've checked that the
> systemd units don't invoke aumix, and pass -E HOME=/run/home to every
> alsactl invocation.
> 
> On Thu, 04 May 2017 at 22:16:32 +0200, Daniel Reichelt wrote:
> > /.config/pulse still is getting created when /etc/init.d/alsa-utils runs
> > on boot.
> > 
> > I'm using sysvinit instead of systemd.
> > 
> > Tracing the init script and the included utils.sh showed, that any call
> > to aumix somehow triggers pulseaudio as well which - due to HOME not
> > being set - leads to /.config/pulse being created. The top of the call
> > chain of aumix is the init script's call to sanify_levels().
> > 
> > Why was this previously fixed by prepending HOME=$ALSACTLHOME to only
> > some commands instead of just exporting HOME?
> 
> [...]
> 
> Thanks,
>     smcv
>     (with no particular interest in this bug or this package, just trying
>     to tidy the RC bugs list)
> 
> 

Hi,

I added a MR on salsa for this issue[1] fixing a missing call to
alsactl.  I could not see any (direct) calls to aumix, so these are not
covered.  There are some calls to amixer but it does not seem to create
.config if missing despite looking for it.

Admittedly, Daniel's solution of simply setting HOME is probably easier
to maintain in the long run and less like to "miss" a call.

Thanks,
~Niels

[1] https://salsa.debian.org/alsa-team/alsa-utils/merge_requests/1



More information about the Pkg-alsa-devel mailing list