#992856 pulseaudio: Pulseaudio does not automatically start on newer kernel

Package:
pulseaudio
Source:
pulseaudio
Description:
PulseAudio sound server
Submitter:
Pierre-Yves Luyten
Date:
2022-02-24 14:27:02 UTC
Severity:
normal
#992856#5
Date:
2021-08-24 10:09:02 UTC
From:
To:
Since upgrade to bullseye, I noticed pulseaudio is not automatically started.
For example in GNOME preferences sound preferences are empty, pavucontrol does
not start.

If i manually start pulseaudio like below, then i can see the sound
preferences, or use pa related tools.
$ pulseaudio

I run into the default kernel.

# uname -r
5.10.0-8-amd64

I noticed if i boot under an older kernel, pulseaudio is started automatically,
the bug does not happen. I picked a random one for testing, linux-
image-4.19.0-17-amd64.

Please tell me what additional information could i provide to help?

#992856#10
Date:
2021-09-16 20:01:14 UTC
From:
To:
I confirm this bug.

After starting pulseaudio manually
$ pulseaudio --start
audio is working.

How can I workarround this problem?

#992856#15
Date:
2021-09-17 12:03:04 UTC
From:
To:
# ls -l /etc/pulse/client.conf.d/01-enable-autospawn.conf
lrwxrwxrwx 1 root root 32 26. Feb 2021  /etc/pulse/client.conf.d/01-
enable-autospawn.conf -> /run/pulseaudio-enable-autospawn
# ls -l /run/pulseaudio-enable-autospawn
ls: cannot access '/run/pulseaudio-enable-autospawn': No such file or
directory

Could this be the cause of the problem?

Thanks,
Marco

#992856#20
Date:
2021-11-28 10:58:07 UTC
From:
To:
Hello,

sorry i missed your previous question.

I was fixing an issue where login is very long on my system, and
ameneded nftables.

iif lo tcp dport { 9050, 9150 } log prefix SYSTEMD-BUG- reject


And actually fixing this issue also makes pulse audio start normally
now. So, sorry it was a side effect.

Pierre-Yves

#992856#25
Date:
2022-02-24 14:23:25 UTC
From:
To:
Hello,

My current workaround is:

/etc/profile.d/fix-pulseaudio.sh:

if ! pidof pulseaudio >/dev/null;
then
  echo workaround pulseaudio started
  pulseaudio --start &
fi

On which systemd version (package) is this fixed from your point of
view?

Marco

$ dpkg -l pulseaudio systemd
ii  pulseaudio     14.2-2       amd64        PulseAudio sound server
ii  systemd        247.3-6      amd64        system and service manager