Your message dated Fri, 18 Apr 2014 19:39:01 -0300
with message-id <20140418223901.ga25...@sateler.com>
and subject line Re: Bug#737083: pulseaudio: ALSA cannot be used directly when
pulseaudio is installed
has caused the Debian Bug report #737083,
regarding pulseaudio: let ALSA alone be still easy to use by non administrators
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
737083: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737083
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: pulseaudio
Version: 2.0-6.1
Severity: important
When pulseaudio is installed, the file
'/usr/share/alsa/alsa.conf.d/pulse.conf' is loaded and it seems that the
result is that pulseaudio is automatically started (when it is not
already running) whenever ALSA is used. Thus if a user explicitly
requested an ALSA device outputting to a hardware card (other than
pulse), this device cannot be opened anymore because the hardware device
is already opened by pulseaudio. The ALSA device null still works but
pulseaudio is started nonetheless!
To my knowledge, the only way to make ALSA usable again, is to put the
file '/usr/share/alsa/alsa.conf.d/pulse.conf' aside, which requires
administrative privileges. This is unacceptable since a normal user
should still have the option not to use pulseaudio. I would suggest
that you devise a way to clear the config of 'pulse.conf' from a user
'.asoundrc' or disable the file 'pulse.conf' by default or maybe ask
about it in debconf.
Note that the function loaded by the afore-mentioned file is named
'conf_load_if_running', which suggests that it should load the files
that set pulse as the default ouput device only if pulseaudio is already
running, but in fact it starts pulseaudio itself.
PS. Please add to README.Debian an explanation of how to do disable
pulseaudio: how to disbale the autostart of the X session
(both system-wide and per user) and how to disable the automatic
switching of ALSA to pulseaudio.
-- System Information:
Debian Release: 7.3
APT prefers stable
APT policy: (800, 'stable'), (500, 'stable-updates'), (300, 'testing'), (99,
'unstable'), (10, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages pulseaudio depends on:
ii adduser 3.113+nmu3
ii consolekit 0.4.5-3.1
ii libasound2 1.0.25-4
ii libasound2-plugins 1.0.25-2
ii libc6 2.13-38
ii libcap2 1:2.22-1.2
ii libdbus-1-3 1.6.8-1+deb7u1
ii libfftw3-3 3.3.2-3.1
ii libgcc1 1:4.7.2-5
ii libice6 2:1.0.8-2
ii libltdl7 2.4.2-1.1
ii liborc-0.4-0 1:0.4.16-2
ii libpulse0 2.0-6.1
ii libsamplerate0 0.1.8-5
ii libsm6 2:1.2.1-2
ii libsndfile1 1.0.25-5
ii libspeexdsp1 1.2~rc1-7
ii libstdc++6 4.7.2-5
ii libsystemd-daemon0 44-11+deb7u4
ii libsystemd-login0 44-11+deb7u4
ii libtdb1 1.2.10-2
ii libudev0 175-7.2
ii libwebrtc-audio-processing-0 0.1-2
ii libx11-6 2:1.5.0-1+deb7u1
ii libx11-xcb1 2:1.5.0-1+deb7u1
ii libxcb1 1.8.1-2+deb7u1
ii libxtst6 2:1.2.1-1+deb7u1
ii lsb-base 4.1+Debian8+deb7u1
ii udev 175-7.2
Versions of packages pulseaudio recommends:
ii gstreamer0.10-pulseaudio 0.10.31-3+nmu1
pn pulseaudio-module-x11 <none>
pn rtkit <none>
Versions of packages pulseaudio suggests:
ii paman 0.9.4-1
ii paprefs 0.9.10-1
ii pavucontrol 1.0-1
ii pavumeter 0.9.3-4
ii pulseaudio-utils 2.0-6.1
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 3.0-1
Control: retitle -1 pulseaudio: document autospawn behavior in README.Debian
On Thu, Jan 30, 2014 at 06:36:13AM +0100, G.raud wrote:
> package pulseaudio
> retitle 737083 pulseaudio: let ALSA alone be still easy to use by non
> administrators
> severity 737083 normal
> thanks
>
> On Thu, Jan 30, 2014 at 03:42:09AM +0100, G.raud wrote:
> > Note that the function loaded by the afore-mentioned file is named
> > 'conf_load_if_running', which suggests that it should load the files
> > that set pulse as the default ouput device only if pulseaudio is already
> > running, but in fact it starts pulseaudio itself.
>
> Setting 'autospawn = no' in $HOME/.pulse/client.conf (or
> /etc/pulse/client.conf) changes the behaviour of the ALSA hook to not
> autostart pulseaudio. This should be the default as it allows one to
> still use ALSA as before when pulseaudio has not been started and
> because most users requiring pulseaudio either know how to start it or
> will have it started by an X session or GNOME.
This is unlikely to be done. See bug #622989 where this is tracked.
>
> There should still be a way to clear the config of
> '/usr/share/alsa/alsa.conf.d/pulse.conf' by a user without
> administrative privileges, for those who know that they do not want to run
> pulseaudio and would not want to find themselves using it without
> knowing.
Setting autospawn = no is enough to prevent pulseaudio from starting, so
I don't see the point of changing that file.
>
> > PS. Please add to README.Debian an explanation of how to do disable
> > pulseaudio: how to disbale the autostart of the X session
> > (both system-wide and per user) and how to disable the automatic
> > switching of ALSA to pulseaudio.
>
> Whether you change the default config of client.conf or not, you should
> document 'autospawn = no' too.
This has been documented in version 3.0-1:
By default pulseaudio is configured for using a per-user session daemon
(see comments in /etc/default/pulseaudio). If you wish to prevent per-
user session daemons from being invoked, remember to edit
/etc/pulse/client.conf (or create ~/.pulse/client.conf) and ensure that
"autospawn = no" is present and uncommented.
The documentation part is done, and the other part is a duplicate of bug
#622989 (feel free to comment there if you think I'm wrong about
autospawn). Therefore I'm closing this bug.
Thanks
--
Saludos,
Felipe Sateler
--- End Message ---
_______________________________________________
pkg-pulseaudio-devel mailing list
pkg-pulseaudio-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-pulseaudio-devel