Bug#731300: E: [autospawn] core-util.c: Failed to create secure directory (/run/user/0/pulse: Permission denied

Trey Blancher ectopathic at gmail.com
Wed Dec 4 04:57:20 UTC 2013


Package: pulseaudio
Version: 4.0-6+b1
Severity: important

Dear Maintainer,

I reinstalled my Debian sid system after a hard drive failure, and noticed that
pulseaudio wasn't working:  I had no sound, and pavucontrol fails to connect to
the daemon.  I ran pulseaudio from a zsh console, and I got this result:

pulseaudio --daemonize --start
E: [autospawn] core-util.c: Failed to create secure directory
(/run/user/0/pulse): Permission denied
W: [autospawn] lock-autospawn.c: Cannot access autospawn lock.
E: [pulseaudio] main.c: Failed to acquire autospawn lock

It appears that pulseaudio is trying to open the lock in root's (UID 0's)
/run/user/ directory, not my user (UID 1000).  It does not appear that
pulseaudio is setuid root, as the following shows:

ls -l $(which pulseaudio)
-rwxr-xr-x 1 root root 83K Sep 12 05:12 /usr/bin/pulseaudio*

Nothing I've tried has worked.  I have ensured my user is part of the audio,
pulse, and pulse-access groups.  I see bug #576769 which seems to report the
same issue, but doesn't report the actual name of the secure directory attempted.
My attempt to build from source (as suggested by #576769) failed because I
apparently built the pulseaudio_4.0-6 source, not pulseaudio_4.0-6+b1, and this
has now gotten too deep for me.



-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.11-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (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.6-3+b1
ii  libasound2                    1.0.27.2-3
ii  libasound2-plugins            1.0.27-2+b1
ii  libc6                         2.17-97
ii  libcap2                       1:2.22-1.2
ii  libdbus-1-3                   1.6.18-2
ii  libfftw3-single3              3.3.3-7
ii  libgcc1                       1:4.8.2-7
ii  libice6                       2:1.0.8-2
ii  libltdl7                      2.4.2-1.3
ii  liborc-0.4-0                  1:0.4.18-1
ii  libpulse0                     4.0-6+b1
ii  libsamplerate0                0.1.8-5
ii  libsm6                        2:1.2.1-2
ii  libsndfile1                   1.0.25-7
ii  libspeexdsp1                  1.2~rc1.1-1
ii  libstdc++6                    4.8.2-7
ii  libsystemd-login0             204-5
ii  libtdb1                       1.2.12-1
ii  libudev1                      204-5
ii  libwebrtc-audio-processing-0  0.1-2
ii  libx11-6                      2:1.6.2-1
ii  libx11-xcb1                   2:1.6.2-1
ii  libxcb1                       1.9.1-3.1
ii  libxtst6                      2:1.2.2-1
ii  lsb-base                      4.1+Debian12
ii  udev                          204-5

Versions of packages pulseaudio recommends:
ii  gstreamer0.10-pulseaudio  0.10.31-3+nmu2
ii  pulseaudio-module-x11     4.0-6+b1
ii  rtkit                     0.10-3

Versions of packages pulseaudio suggests:
pn  paman             <none>
pn  paprefs           <none>
ii  pavucontrol       1.0-1
pn  pavumeter         <none>
ii  pulseaudio-utils  4.0-6+b1

-- no debconf information



More information about the pkg-pulseaudio-devel mailing list