[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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273605

            Bug ID: 273605
           Summary: audio/pulseaudio: Daemon startup failed in system-wide
                    mode
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: desktop@FreeBSD.org
          Reporter: DtxdF@disroot.org
             Flags: maintainer-feedback?(desktop@FreeBSD.org)
          Assignee: desktop@FreeBSD.org

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
```

-- 
You are receiving this mail because:
You are the assignee for the bug.