mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3263] nosound should blacklist ${RUNUSER}/pulse #2048
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#2048
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rusty-snake on GitHub (Mar 2, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3263
I'm working a bit on templates for wru (
whitelist ${RUNUSER}/…) and adding it to more profiles. I detected that /run/user/1000/pulse is accessible ifnosoundis in affect. Unfortunately there is also no?HAS_NOSOUND:or?HAS_LINE(nosound)connditions.@ghost commented on GitHub (Mar 2, 2020):
Until we have those conditionals it might be worthwhile to make ${RUNUSER}/pulse read-only. I have been running with this in my globals.local for a while now without issues:
@smitsohu commented on GitHub (Mar 3, 2020):
Just to have mentioned it: This doesn't mean that
nosoundis broken. The socket inside/run/user/<UID>/pulseis the primary target and it is blacklisted.@smitsohu commented on GitHub (Mar 4, 2020):
May I vote to adjust the
nosoundoption rather than the profiles?@rusty-snake commented on GitHub (Mar 4, 2020):
Actual:
What I suggest:
The mentioned conditions would allow a workaround until this is changed in the C-code.
@Vincent43 commented on GitHub (Mar 4, 2020):
Did you tested if apps behave normal when this permission is denied?
@rusty-snake commented on GitHub (Mar 5, 2020):
Will do some testing, but I think that this would not break anything, since if you try operate on /run/user/1000/pulse/native you already get an permissions denied error and we use nosound for programs which do not use sound.
@smitsohu commented on GitHub (Mar 15, 2020):
fwiw the relevant lines are here:
35443058b6/src/firejail/pulseaudio.c (L41-L50)@netblue30 commented on GitHub (Oct 1, 2020):
I am going for "ls: cannot open directory '/run/user/1000/pulse': Permission denied"