mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3351] Can not use custom mplayer profile without whitelisting directory of each video file #2103
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#2103
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 @novoid on GitHub (Apr 13, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3351
Bug Description
I can not play files using
mplayerunless adding the directory of the video file as whitelisted directory.I can not whitelist any directory so that I may play a video file in any ($HOME) (sub-)directory.
This is my
/home/vk/.config/firejail/mplayer.profileshowing the error behavior:Behavior change on disabling firejail
To Reproduce
mplayer profile:
/usr/bin/firejail --debug --profile=/home/vk/.config/firejail/mplayer.profile mplayer video.mp4For detailed debug output, see http://paste.grml.org/hidden/ecc96efa/
Expected behavior
Expected behavior would be that I may play back video files without whitelisting the directory of that video file.
Workaround
mplayer profile:
/usr/bin/firejail --debug --profile=/home/vk/.config/firejail/mplayer.profile mplayer video.mp4Detailed debug output: http://paste.grml.org/hidden/d0b2dae6/
Desktop
Additional context
I freshly upgraded from Debian oldstable yesterday. Before the upgrade, my custom profile without the additional whitelist did work fine. Unfortunately, I did not write down the previous firejail version.
@rusty-snake commented on GitHub (Apr 13, 2020):
Broken down: firejail can not local user profiles if ~/.config is a symlink.@novoid commented on GitHub (Apr 13, 2020):
I also did some experiments because my
~/.configis a symlink:However, when video playback worked with just adding the whitelist for the video directory (and not the whitelist lines for the
.configfolder), I don't think that the symlink issue of.configis related to my issue.Correct me if I'm wrong.
@smitsohu commented on GitHub (Apr 13, 2020):
Could you try with the
noautopulseoption? It should get you rid of the error.I'll try to add a fix for that aspect.
@novoid commented on GitHub (Apr 13, 2020):
Hi @smitsohu,
Adding
noautopulseto my profile file did resolve the issue. Without knowing the exact details, I consider this to be a solution and not a workaround, closing the ticket for now.Thanks!