maintainer-feedback requested: [Bug 273605] audio/pulseaudio: Daemon startup failed in system-wide mode

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 06 Sep 2023 19:14:38 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-desktop (Team)
<desktop@FreeBSD.org> for maintainer-feedback:
Bug 273605: audio/pulseaudio: Daemon startup failed in system-wide mode
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273605



--- Description ---
Description:

I have written a small rc script to run pulseaudio in system-wide mode using
the following parameters (see Output). After upgrading pulseaudio a few weeks
ago I noticed that pulseaudio cannot be started again in system-wide mode. I
didn't have time at that time to test some things to get more information so I
haven't reported it until today.

Note: I know that running pulseaudio in system-wide mode is not recommended
except in some cases.

Output:

```
# pulseaudio -D --system --disallow-module-loading --disallow-exit
N: [(null)] main.c: Running in system mode, forcibly disabling SHM mode.
N: [(null)] main.c: Running in system mode, forcibly disabling exit idle time.
E: [(null)] main.c: Daemon startup failed.
# tail -3 /var/log/messages
Sep  6 14:57:17 dtxdf-test pulseaudio[19404]: [(null)] main.c: Home directory
of user 'pulse' is not '/var/local/run/pulse', ignoring.
Sep  6 14:57:17 dtxdf-test pulseaudio[19404]: [(null)] caps.c: Normally all
extra capabilities would be dropped now, but that's impossible because
PulseAudio was built without capabilities support.
Sep  6 14:57:17 dtxdf-test pulseaudio[19404]: [(null)] core-util.c: Failed to
create secure directory (/var/local/lib/pulse): Permission denied
```