Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#59209 - Pulseaudio doesn't start after upgrading from 11.1-1 to 12.0-1

Attached to Project: Arch Linux
Opened by Aleksander Alekseev (afiskon) - Monday, 02 July 2018, 09:17 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 02 July 2018, 16:37 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Yesterday I upgraded pulseaudio to 12.0-1 and discovered that the service doesn't start anymore:

```
eax@e733:~$ pactl list sinks short
Connection failure: Connection refused
pa_context_connect() failed: Connection refused

eax@e733:~$ systemctl --user start pulseaudio
Job for pulseaudio.service failed because the control process exited with error code.
See "systemctl --user status pulseaudio.service" and "journalctl --user -xe" for details.

eax@e733:~$ journalctl --user -xe
-- Unit UNIT has begun starting up.
Jul 02 12:02:52 e733 pulseaudio[815]: E: [pulseaudio] pid.c: Daemon already running.
Jul 02 12:02:52 e733 pulseaudio[815]: E: [pulseaudio] main.c: pa_pid_file_create() failed.
Jul 02 12:02:52 e733 systemd[588]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
Jul 02 12:02:52 e733 systemd[588]: pulseaudio.service: Failed with result 'exit-code'.
Jul 02 12:02:52 e733 systemd[588]: Failed to start Sound Service.
-- Subject: Unit UNIT has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has failed.
--
-- The result is RESULT.
Jul 02 12:02:52 e733 systemd[588]: pulseaudio.service: Service hold-off time over, scheduling restart.
Jul 02 12:02:52 e733 systemd[588]: pulseaudio.service: Scheduled restart job, restart counter is at 5.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Automatic restarting of the unit UNIT has been scheduled, as the result for
-- the configured Restart= setting for the unit.
Jul 02 12:02:52 e733 systemd[588]: Stopped Sound Service.
-- Subject: Unit UNIT has finished shutting down
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has finished shutting down.
Jul 02 12:02:52 e733 systemd[588]: pulseaudio.service: Start request repeated too quickly.
Jul 02 12:02:52 e733 systemd[588]: pulseaudio.service: Failed with result 'exit-code'.
Jul 02 12:02:52 e733 systemd[588]: Failed to start Sound Service.
-- Subject: Unit UNIT has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has failed.
--
-- The result is RESULT.
Jul 02 12:02:52 e733 systemd[588]: pulseaudio.socket: Failed with result 'service-start-limit-hit'.
...skipping...
-- Unit UNIT has begun starting up.
Jul 02 12:02:52 e733 pulseaudio[815]: E: [pulseaudio] pid.c: Daemon already running.
Jul 02 12:02:52 e733 pulseaudio[815]: E: [pulseaudio] main.c: pa_pid_file_create() failed.
Jul 02 12:02:52 e733 systemd[588]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
Jul 02 12:02:52 e733 systemd[588]: pulseaudio.service: Failed with result 'exit-code'.
Jul 02 12:02:52 e733 systemd[588]: Failed to start Sound Service.
-- Subject: Unit UNIT has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has failed.
--
-- The result is RESULT.
Jul 02 12:02:52 e733 systemd[588]: pulseaudio.service: Service hold-off time over, scheduling restart.
Jul 02 12:02:52 e733 systemd[588]: pulseaudio.service: Scheduled restart job, restart counter is at 5.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Automatic restarting of the unit UNIT has been scheduled, as the result for
-- the configured Restart= setting for the unit.
Jul 02 12:02:52 e733 systemd[588]: Stopped Sound Service.
-- Subject: Unit UNIT has finished shutting down
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has finished shutting down.
Jul 02 12:02:52 e733 systemd[588]: pulseaudio.service: Start request repeated too quickly.
Jul 02 12:02:52 e733 systemd[588]: pulseaudio.service: Failed with result 'exit-code'.
Jul 02 12:02:52 e733 systemd[588]: Failed to start Sound Service.
-- Subject: Unit UNIT has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has failed.
--
-- The result is RESULT.
Jul 02 12:02:52 e733 systemd[588]: pulseaudio.socket: Failed with result 'service-start-limit-hit'.

eax@e733:~$ sudo fuser -v /dev/snd/*
[sudo] password for eax:
USER PID ACCESS COMMAND
/dev/snd/controlC0: eax 706 F.... pulseaudio
/dev/snd/controlC1: eax 706 F.... pulseaudio
```

As a workaround I downgraded Pulseaudio packages:

```
sudo pacman -U libpulse-11.1-1-x86_64.pkg.tar.xz pulseaudio-11.1-1-x86_64.pkg.tar.xz
```

..., added them to IgnorePkg list in pacman.conf and rebooted, this solved the issue. Obviously something is broken in new packages.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 02 July 2018, 16:37 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Setup issue
Comment by Daniel M. Capella (polyzen) - Monday, 02 July 2018, 14:30 GMT
> pulseaudio[815]: E: [pulseaudio] pid.c: Daemon already running.

Pulse was apparently running outside the service. Had you tried restarting X and/or the system?

Loading...