Bug#939563: pulseaudio: core-util.c: Failed to create secure directory (/nonexistent/.config/pulse)

Francesco Potortì Potorti at isti.cnr.it
Fri Sep 6 12:19:35 BST 2019


Package: pulseaudio
Version: 12.99.2-1
Severity: minor

Dear Maintainer,

I get the Subject lines in syslog every night.  I include some extracts
from system log files.  Apparently, a cron job starts as user nobody,
pulseaudio tries to start but cannot find a home.  But I am not sure the
diagnosis is correct, and don't know why it started only after an
upgrade (did not happen in July).

- /var/log/auth.log
Sep  6 07:39:49 tucano su: (to nobody) root on none
Sep  6 07:39:49 tucano su: pam_unix(su:session): session opened for user nobody by (uid=0)
Sep  6 07:39:49 tucano systemd: pam_unix(systemd-user:session): session opened for user nobody by (uid=0)
Sep  6 07:39:50 tucano su: pam_unix(su:session): session closed for user nobody
Sep  6 07:39:50 tucano su: (to nobody) root on none
Sep  6 07:39:50 tucano su: pam_unix(su:session): session opened for user nobody by (uid=0)
Sep  6 07:39:50 tucano su: pam_unix(su:session): session closed for user nobody
Sep  6 07:39:50 tucano su: (to nobody) root on none

- /var/log/syslog
Sep  6 07:39:49 tucano systemd[1]: Created slice User Slice of UID 65534.
Sep  6 07:39:49 tucano systemd[1]: Starting User Runtime Directory /run/user/65534...
Sep  6 07:39:49 tucano systemd[1]: Started User Runtime Directory /run/user/65534.
Sep  6 07:39:49 tucano systemd[1]: Starting User Manager for UID 65534...
Sep  6 07:39:49 tucano systemd[2187]: gpgconf: running /usr/bin/gpg-agent failed (exitcode=2): General error
Sep  6 07:39:49 tucano systemd[2187]: gpgconf: fatal error (exit status 1)
Sep  6 07:39:50 tucano systemd[2187]: Listening on GnuPG network certificate management daemon.
Sep  6 07:39:50 tucano systemd[2187]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Sep  6 07:39:50 tucano systemd[2187]: Starting D-Bus User Message Bus Socket.
Sep  6 07:39:50 tucano systemd[2187]: Reached target Timers.
Sep  6 07:39:50 tucano systemd[2187]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
Sep  6 07:39:50 tucano systemd[2187]: Listening on Sound System.
Sep  6 07:39:50 tucano systemd[2187]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Sep  6 07:39:50 tucano systemd[2187]: Reached target Paths.
Sep  6 07:39:50 tucano systemd[2187]: Listening on GnuPG cryptographic agent and passphrase cache.
Sep  6 07:39:50 tucano systemd[2187]: Listening on D-Bus User Message Bus Socket.
Sep  6 07:39:50 tucano systemd[2187]: Reached target Sockets.
Sep  6 07:39:50 tucano systemd[2187]: Reached target Basic System.
Sep  6 07:39:50 tucano systemd[1]: Started User Manager for UID 65534.
Sep  6 07:39:50 tucano systemd[2187]: Starting Sound Service...
Sep  6 07:39:50 tucano systemd[1]: Started Session c104 of user nobody.
Sep  6 07:39:50 tucano systemd[1]: session-c104.scope: Succeeded.
Sep  6 07:39:50 tucano systemd[1]: Started Session c105 of user nobody.
Sep  6 07:39:50 tucano systemd[1]: session-c105.scope: Succeeded.
Sep  6 07:39:50 tucano systemd[1]: Started Session c106 of user nobody.
Sep  6 07:39:50 tucano pulseaudio[2199]: E: [pulseaudio] core-util.c: Failed to create secure directory (/nonexistent/.config/pulse): No such file or directory
Sep  6 07:39:50 tucano systemd[2187]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
Sep  6 07:39:50 tucano systemd[2187]: pulseaudio.service: Failed with result 'exit-code'.
Sep  6 07:39:50 tucano systemd[2187]: Failed to start Sound Service.
Sep  6 07:39:50 tucano systemd[2187]: Reached target Main User Target.
Sep  6 07:39:50 tucano systemd[2187]: Startup finished in 879ms.
Sep  6 07:39:51 tucano systemd[2187]: pulseaudio.service: Service RestartSec=100ms expired, scheduling restart.
Sep  6 07:39:51 tucano systemd[2187]: pulseaudio.service: Scheduled restart job, restart counter is at 1.
Sep  6 07:39:51 tucano systemd[2187]: Stopped Sound Service.
Sep  6 07:39:51 tucano systemd[2187]: Starting Sound Service...
Sep  6 07:39:51 tucano kernel: [3009404.547913] i2c i2c-0: sendbytes: NAK bailout.
Sep  6 07:39:51 tucano kernel: [3009404.655785] [drm:radeon_vga_detect [radeon]] *ERROR* VGA-1: probed a monitor but no|invalid EDID
Sep  6 07:39:51 tucano pulseaudio[2212]: E: [pulseaudio] core-util.c: Failed to create secure directory (/nonexistent/.config/pulse): No such file or directory
Sep  6 07:39:51 tucano systemd[2187]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
Sep  6 07:39:51 tucano systemd[2187]: pulseaudio.service: Failed with result 'exit-code'.
Sep  6 07:39:51 tucano systemd[2187]: Failed to start Sound Service.
Sep  6 07:39:51 tucano systemd[2187]: pulseaudio.service: Service RestartSec=100ms expired, scheduling restart.
Sep  6 07:39:51 tucano systemd[2187]: pulseaudio.service: Scheduled restart job, restart counter is at 2.
Sep  6 07:39:51 tucano systemd[2187]: Stopped Sound Service.
Sep  6 07:39:51 tucano systemd[2187]: Starting Sound Service...
Sep  6 07:39:52 tucano pulseaudio[2213]: E: [pulseaudio] core-util.c: Failed to create secure directory (/nonexistent/.config/pulse): No such file or directory
Sep  6 07:39:52 tucano systemd[2187]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
Sep  6 07:39:52 tucano systemd[2187]: pulseaudio.service: Failed with result 'exit-code'.
Sep  6 07:39:52 tucano systemd[2187]: Failed to start Sound Service.
Sep  6 07:39:52 tucano systemd[2187]: pulseaudio.service: Service RestartSec=100ms expired, scheduling restart.
Sep  6 07:39:52 tucano systemd[2187]: pulseaudio.service: Scheduled restart job, restart counter is at 3.
Sep  6 07:39:52 tucano systemd[2187]: Stopped Sound Service.
Sep  6 07:39:52 tucano systemd[2187]: Starting Sound Service...
Sep  6 07:39:53 tucano pulseaudio[2220]: E: [pulseaudio] core-util.c: Failed to create secure directory (/nonexistent/.config/pulse): No such file or directory
Sep  6 07:39:53 tucano systemd[2187]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
Sep  6 07:39:53 tucano systemd[2187]: pulseaudio.service: Failed with result 'exit-code'.
Sep  6 07:39:53 tucano systemd[2187]: Failed to start Sound Service.
Sep  6 07:39:53 tucano systemd[2187]: pulseaudio.service: Service RestartSec=100ms expired, scheduling restart.
Sep  6 07:39:53 tucano systemd[2187]: pulseaudio.service: Scheduled restart job, restart counter is at 4.
Sep  6 07:39:53 tucano systemd[2187]: Stopped Sound Service.
Sep  6 07:39:53 tucano systemd[2187]: Starting Sound Service...
Sep  6 07:39:53 tucano pulseaudio[2228]: E: [pulseaudio] core-util.c: Failed to create secure directory (/nonexistent/.config/pulse): No such file or directory
Sep  6 07:39:53 tucano systemd[2187]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
Sep  6 07:39:53 tucano systemd[2187]: pulseaudio.service: Failed with result 'exit-code'.
Sep  6 07:39:53 tucano systemd[2187]: Failed to start Sound Service.
Sep  6 07:39:54 tucano systemd[2187]: pulseaudio.service: Service RestartSec=100ms expired, scheduling restart.
Sep  6 07:39:54 tucano systemd[2187]: pulseaudio.service: Scheduled restart job, restart counter is at 5.
Sep  6 07:39:54 tucano systemd[2187]: Stopped Sound Service.
Sep  6 07:39:54 tucano systemd[2187]: pulseaudio.service: Start request repeated too quickly.
Sep  6 07:39:54 tucano systemd[2187]: pulseaudio.service: Failed with result 'exit-code'.
Sep  6 07:39:54 tucano systemd[2187]: Failed to start Sound Service.
Sep  6 07:39:54 tucano systemd[2187]: pulseaudio.socket: Failed with result 'service-start-limit-hit'.

- /var/log/daemon.log
Sep  6 07:39:49 tucano systemd[1]: Created slice User Slice of UID 65534.
Sep  6 07:39:49 tucano systemd[1]: Starting User Runtime Directory /run/user/65534...
Sep  6 07:39:49 tucano systemd[1]: Started User Runtime Directory /run/user/65534.
Sep  6 07:39:49 tucano systemd[1]: Starting User Manager for UID 65534...
Sep  6 07:39:49 tucano systemd[2187]: gpgconf: running /usr/bin/gpg-agent failed (exitcode=2): General error
Sep  6 07:39:49 tucano systemd[2187]: gpgconf: fatal error (exit status 1)
Sep  6 07:39:50 tucano systemd[2187]: Listening on GnuPG network certificate management daemon.
Sep  6 07:39:50 tucano systemd[2187]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Sep  6 07:39:50 tucano systemd[2187]: Starting D-Bus User Message Bus Socket.
Sep  6 07:39:50 tucano systemd[2187]: Reached target Timers.
Sep  6 07:39:50 tucano systemd[2187]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
Sep  6 07:39:50 tucano systemd[2187]: Listening on Sound System.
Sep  6 07:39:50 tucano systemd[2187]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Sep  6 07:39:50 tucano systemd[2187]: Reached target Paths.
Sep  6 07:39:50 tucano systemd[2187]: Listening on GnuPG cryptographic agent and passphrase cache.
Sep  6 07:39:50 tucano systemd[2187]: Listening on D-Bus User Message Bus Socket.
Sep  6 07:39:50 tucano systemd[2187]: Reached target Sockets.
Sep  6 07:39:50 tucano systemd[2187]: Reached target Basic System.
Sep  6 07:39:50 tucano systemd[1]: Started User Manager for UID 65534.
Sep  6 07:39:50 tucano systemd[2187]: Starting Sound Service...
Sep  6 07:39:50 tucano systemd[1]: Started Session c104 of user nobody.
Sep  6 07:39:50 tucano systemd[1]: session-c104.scope: Succeeded.
Sep  6 07:39:50 tucano systemd[1]: Started Session c105 of user nobody.
Sep  6 07:39:50 tucano systemd[1]: session-c105.scope: Succeeded.
Sep  6 07:39:50 tucano systemd[1]: Started Session c106 of user nobody.
Sep  6 07:39:50 tucano pulseaudio[2199]: E: [pulseaudio] core-util.c: Failed to create secure directory (/nonexistent/.config/pulse): No such file or directory
Sep  6 07:39:50 tucano systemd[2187]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
Sep  6 07:39:50 tucano systemd[2187]: pulseaudio.service: Failed with result 'exit-code'.
Sep  6 07:39:50 tucano systemd[2187]: Failed to start Sound Service.
Sep  6 07:39:50 tucano systemd[2187]: Reached target Main User Target.
Sep  6 07:39:50 tucano systemd[2187]: Startup finished in 879ms.
Sep  6 07:39:51 tucano systemd[2187]: pulseaudio.service: Service RestartSec=100ms expired, scheduling restart.
Sep  6 07:39:51 tucano systemd[2187]: pulseaudio.service: Scheduled restart job, restart counter is at 1.
Sep  6 07:39:51 tucano systemd[2187]: Stopped Sound Service.
Sep  6 07:39:51 tucano systemd[2187]: Starting Sound Service...
Sep  6 07:39:51 tucano pulseaudio[2212]: E: [pulseaudio] core-util.c: Failed to create secure directory (/nonexistent/.config/pulse): No such file or directory
Sep  6 07:39:51 tucano systemd[2187]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
Sep  6 07:39:51 tucano systemd[2187]: pulseaudio.service: Failed with result 'exit-code'.
Sep  6 07:39:51 tucano systemd[2187]: Failed to start Sound Service.
Sep  6 07:39:51 tucano systemd[2187]: pulseaudio.service: Service RestartSec=100ms expired, scheduling restart.
Sep  6 07:39:51 tucano systemd[2187]: pulseaudio.service: Scheduled restart job, restart counter is at 2.
Sep  6 07:39:51 tucano systemd[2187]: Stopped Sound Service.
Sep  6 07:39:51 tucano systemd[2187]: Starting Sound Service...
Sep  6 07:39:52 tucano pulseaudio[2213]: E: [pulseaudio] core-util.c: Failed to create secure directory (/nonexistent/.config/pulse): No such file or directory
Sep  6 07:39:52 tucano systemd[2187]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
Sep  6 07:39:52 tucano systemd[2187]: pulseaudio.service: Failed with result 'exit-code'.
Sep  6 07:39:52 tucano systemd[2187]: Failed to start Sound Service.
Sep  6 07:39:52 tucano systemd[2187]: pulseaudio.service: Service RestartSec=100ms expired, scheduling restart.
Sep  6 07:39:52 tucano systemd[2187]: pulseaudio.service: Scheduled restart job, restart counter is at 3.
Sep  6 07:39:52 tucano systemd[2187]: Stopped Sound Service.
Sep  6 07:39:52 tucano systemd[2187]: Starting Sound Service...
Sep  6 07:39:53 tucano pulseaudio[2220]: E: [pulseaudio] core-util.c: Failed to create secure directory (/nonexistent/.config/pulse): No such file or directory
Sep  6 07:39:53 tucano systemd[2187]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
Sep  6 07:39:53 tucano systemd[2187]: pulseaudio.service: Failed with result 'exit-code'.
Sep  6 07:39:53 tucano systemd[2187]: Failed to start Sound Service.
Sep  6 07:39:53 tucano systemd[2187]: pulseaudio.service: Service RestartSec=100ms expired, scheduling restart.
Sep  6 07:39:53 tucano systemd[2187]: pulseaudio.service: Scheduled restart job, restart counter is at 4.
Sep  6 07:39:53 tucano systemd[2187]: Stopped Sound Service.
Sep  6 07:39:53 tucano systemd[2187]: Starting Sound Service...
Sep  6 07:39:53 tucano pulseaudio[2228]: E: [pulseaudio] core-util.c: Failed to create secure directory (/nonexistent/.config/pulse): No such file or directory
Sep  6 07:39:53 tucano systemd[2187]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
Sep  6 07:39:53 tucano systemd[2187]: pulseaudio.service: Failed with result 'exit-code'.
Sep  6 07:39:53 tucano systemd[2187]: Failed to start Sound Service.
Sep  6 07:39:54 tucano systemd[2187]: pulseaudio.service: Service RestartSec=100ms expired, scheduling restart.
Sep  6 07:39:54 tucano systemd[2187]: pulseaudio.service: Scheduled restart job, restart counter is at 5.
Sep  6 07:39:54 tucano systemd[2187]: Stopped Sound Service.
Sep  6 07:39:54 tucano systemd[2187]: pulseaudio.service: Start request repeated too quickly.
Sep  6 07:39:54 tucano systemd[2187]: pulseaudio.service: Failed with result 'exit-code'.
Sep  6 07:39:54 tucano systemd[2187]: Failed to start Sound Service.
Sep  6 07:39:54 tucano systemd[2187]: pulseaudio.socket: Failed with result 'service-start-limit-hit'.
Sep  6 07:41:13 tucano systemd[1]: session-c106.scope: Succeeded.



-- Package-specific info:
File '/etc/default/pulseaudio' does not exist

-- BEGIN ATTACHMENTS --
/etc/pulse/client.conf
-- END ATTACHMENTS --
-- BEGIN ATTACHMENTS --
/etc/pulse/daemon.conf
-- END ATTACHMENTS --
-- BEGIN ATTACHMENTS --
/etc/pulse/default.pa
-- END ATTACHMENTS --
-- BEGIN ATTACHMENTS --
/etc/pulse/system.pa
-- END ATTACHMENTS --
-- BEGIN ATTACHMENTS --
/tmp/bug-pulseaudio-aplay_-L.7BH4N3
-- END ATTACHMENTS --
-- BEGIN ATTACHMENTS --
/tmp/bug-pulseaudio-pactl_list.oVay5N
-- END ATTACHMENTS --
-- BEGIN ATTACHMENTS --
/tmp/bug-pulseaudio-pactl_info.iDEf9d
-- END ATTACHMENTS --

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (101, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE=C:en_GB:en:en_US:it:fr:es (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages pulseaudio depends on:
ii  adduser                      3.118
ii  init-system-helpers          1.57
ii  libasound2                   1.1.8-1
ii  libasound2-plugins           1:1.1.8-dmo1
ii  libc6                        2.28-10
ii  libcap2                      1:2.25-2
ii  libdbus-1-3                  1.12.16-1
ii  libgcc1                      1:9.2.1-4
ii  libice6                      2:1.0.9-2
ii  libltdl7                     2.4.6-9
ii  liborc-0.4-0                 1:0.4.28-3.1
ii  libpulse0                    12.99.2-1
ii  libsm6                       2:1.2.3-1
ii  libsndfile1                  1.0.28-6
ii  libsoxr0                     0.1.2-3
ii  libspeexdsp1                 1.2~rc1.2-1+b2
ii  libstdc++6                   9.2.1-4
ii  libsystemd0                  242-5
ii  libtdb1                      1.3.18-2
ii  libudev1                     242-5
ii  libwebrtc-audio-processing1  0.3-1+b1
ii  libx11-6                     2:1.6.7-1
ii  libx11-xcb1                  2:1.6.7-1
ii  libxcb1                      1.13.1-2
ii  libxtst6                     2:1.2.3-1
ii  lsb-base                     11.1.0
ii  pulseaudio-utils             12.99.2-1

Versions of packages pulseaudio recommends:
ii  dbus-user-session  1.12.16-1
ii  libpam-systemd     242-5
ii  rtkit              0.12-4

Versions of packages pulseaudio suggests:
ii  paman        0.9.4-1+b3
ii  paprefs      1.1-1
ii  pavucontrol  3.0-4
ii  pavumeter    0.9.3-4+b3
ii  udev         242-5

-- no debconf information



More information about the pkg-pulseaudio-devel mailing list