systemd tries to start pulseaudio several times

Bug #1447154 reported by Laurent Bonnaud
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
Fix Released
Medium
Luke Yelavich

Bug Description

Here is what I see in journalctl:

# journalctl | grep pulseaudio

Apr 21 22:01:16 xeelee pulseaudio[2330]: [pulseaudio] pid.c: Daemon already running.
Apr 21 22:01:33 xeelee pulseaudio[2911]: [pulseaudio] pid.c: Daemon already running.

Sound is working, though.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: pulseaudio 1:6.0-0ubuntu6
Uname: Linux 4.0.0-040000-lowlatency x86_64
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: bonnaudl 2895 F.... pulseaudio
CurrentDesktop: KDE
Date: Wed Apr 22 14:46:51 2015
SourcePackage: pulseaudio
UpgradeStatus: Upgraded to vivid on 2015-04-20 (1 days ago)
dmi.bios.date: 03/25/2013
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P1.50
dmi.board.name: HM77-HT
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.50:bd03/25/2013:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnHM77-HT:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.

Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pulseaudio (Ubuntu):
status: New → Confirmed
Changed in pulseaudio (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Raymond (superquad-vortex2) wrote :

can you provide pulseaudio verbose log or system journal log to prove your claim "systemd tries to start pulseaudio several times" ?

Changed in pulseaudio (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
dino99 (9d9) wrote :

Also get the same 'daemon already running' error on Wily with systemd 220-7
Can say if that 'error' should be downgraded to a 'warning' or simply silenced as it seems having no sad effects except spamming and dupe processes loaded.

 journalctl _COMM=pulseaudio

 pulseaudio[1258]: [pulseaudio] pid.c: Daemon already runnin
 pulseaudio[1822]: [pulseaudio] pid.c: Daemon already runnin

systemctl status -l pulseaudio.service
● pulseaudio.service - LSB: Start the PulseAudio sound server
   Loaded: loaded (/etc/init.d/pulseaudio)
   Active: active (exited) since sam. 2015-06-20 11:13:45 CEST; 1h 01min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 1017 ExecStart=/etc/init.d/pulseaudio start (code=exited, status=0/SUCCESS)

juin 20 11:13:45 u32 systemd[1]: Starting LSB: Start the PulseAudio sound server...
juin 20 11:13:45 u32 systemd[1]: Started LSB: Start the PulseAudio sound server.

****** so wonder if /etc/init.d/ & systemd both deal with pulseaudio load ? ***************

tags: added: wily
Changed in pulseaudio (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Raymond (superquad-vortex2) wrote :
Revision history for this message
Raymond (superquad-vortex2) wrote :

Default sink name: alsa_output.pci-0000_00_1b.0.iec958-stereo
Default source name: alsa_output.pci-0000_00_1b.0.iec958-stereo.monitor

it is strange yhat your hdmi SONY TV XV is available, line out and headphone are unplugged but iec958 spdif is your default sink

 active profile: <output:iec958-stereo>
 sinks:
  alsa_output.pci-0000_00_1b.0.iec958-stereo/#0: Built-in Audio Digital Stereo (IEC958)
 sources:
  alsa_output.pci-0000_00_1b.0.iec958-stereo.monitor/#0: Monitor of Built-in Audio Digital Stereo (IEC958)
 ports:
  analog-input-front-mic: Front Microphone (priority 8500, latency offset 0 usec, available: no)
   properties:
    device.icon_name = "audio-input-microphone"
  analog-input-rear-mic: Rear Microphone (priority 8200, latency offset 0 usec, available: no)
   properties:
    device.icon_name = "audio-input-microphone"
  analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: no)
   properties:

  analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: no)
   properties:

  analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
   properties:
    device.icon_name = "audio-headphones"
  iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
   properties:

  hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
   properties:
    device.icon_name = "video-display"
  hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: yes)
   properties:
    device.icon_name = "video-display"
    device.product.name = "SONY TV XV"

Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote : Re: [Bug 1447154] Re: systemd tries to start pulseaudio several times

On sam., 2015-06-20 at 16:08 +0000, Raymond wrote:

> it is strange yhat your hdmi SONY TV XV is available, line out and
> headphone are unplugged but iec958 spdif is your default sink

It is a config I made and that allows me to listen to music even when
the TV is switched off.

--
Laurent.

Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :

This bug still exists in Ubuntu 15.10 and this package version:

Package: pulseaudio
Version: 1:6.0-0ubuntu12

$ journalctl | grep pulseaudio
oct. 02 11:05:12 vougeot pulseaudio[2182]: [pulseaudio] pid.c: Daemon already running.
[...]
oct. 02 11:05:26 vougeot pulseaudio[2954]: [pulseaudio] pid.c: Daemon already running.

Revision history for this message
Raymond (superquad-vortex2) wrote :
dino99 (9d9)
tags: added: xenial
Revision history for this message
Katsiaris Simos (spider623) wrote :

i can confirm that also exist in xenial but sound seems to work

description: updated
Revision history for this message
Sebastien Bacher (seb128) wrote :

Luke, could you have a look to this one?

Changed in pulseaudio (Ubuntu):
assignee: nobody → Luke Yelavich (themuso)
Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :

This bug is still present in yakkety:

Oct 02 08:47:13 xeelee pulseaudio[24379]: [pulseaudio] pid.c: Daemon already running.
Oct 02 08:47:13 xeelee pulseaudio[24382]: [pulseaudio] pid.c: Daemon already running.

tags: added: yakkety
Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :

This problem is not longer present in zesty. Thanks!

Changed in pulseaudio (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.