[GH-ISSUE #571] PulseAudio support is broken when client.conf is a link #403

Closed
opened 2026-05-05 05:47:46 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @j1r1k on GitHub (Jun 14, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/571

Currently there is a check in firejail/pulseaudio.c whether /etc/pulse/client.conf is a symbolic link (see https://github.com/netblue30/firejail/blob/master/src/firejail/pulseaudio.c#L107).

This breaks support for pulseaudio in firejail in NixOS (as client.conf is always symbolic link there).

It seems that removing this check fixes the problem (and pulseaudio works in firejail).

Is there any reason to keep it?

Originally created by @j1r1k on GitHub (Jun 14, 2016). Original GitHub issue: https://github.com/netblue30/firejail/issues/571 Currently there is a check in `firejail/pulseaudio.c` whether `/etc/pulse/client.conf` is a symbolic link (see https://github.com/netblue30/firejail/blob/master/src/firejail/pulseaudio.c#L107). This breaks support for pulseaudio in firejail in NixOS (as client.conf is always symbolic link there). It seems that removing this check fixes the problem (and pulseaudio works in firejail). Is there any reason to keep it?
gitea-mirror 2026-05-05 05:47:46 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@netblue30 commented on GitHub (Jun 14, 2016):

You are right, there shouldn't be any reason for symlink checking there. I put a fix in git. Thanks for the bug.

<!-- gh-comment-id:225991462 --> @netblue30 commented on GitHub (Jun 14, 2016): You are right, there shouldn't be any reason for symlink checking there. I put a fix in git. Thanks for the bug.
Author
Owner

@j1r1k commented on GitHub (Jun 14, 2016):

@netblue30 Thanks a lot for a prompt fix.

<!-- gh-comment-id:225996550 --> @j1r1k commented on GitHub (Jun 14, 2016): @netblue30 Thanks a lot for a prompt fix.
Author
Owner

@netblue30 commented on GitHub (Jun 14, 2016):

No problem.

<!-- gh-comment-id:225996947 --> @netblue30 commented on GitHub (Jun 14, 2016): No problem.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#403
No description provided.