mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #7134] MPV will not open #3496
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#3496
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 @SomeoneWhoUsesGit on GitHub (Apr 11, 2026).
Original GitHub issue: https://github.com/netblue30/firejail/issues/7134
Description
When using the firejail profile with mpv, mpv will crash
Steps to Reproduce
with mpv installed, run sudo firecfg
Expected behavior
mpv should open or open the video clicked on
Actual behavior
mpv will just not open, it outright crashes.
Often it still is active when running firejail --list
Behavior without a profile
works as expected without a profile
Additional context
N/A
Environment
kernel - 6.19.11-1-cachyos
Cachyos
MPV 1:0.41.0-3
firejail 0.9.80
Checklist
firejail /usr/bin/vlcinstead offirejail vlc; seehttps://github.com/netblue30/firejail/issues/2877)/usr/bin/vlc) "fixes" it).https://github.com/netblue30/firejail/issues/1139)browser-allow-drm yes/browser-disable-u2f noinfirejail.configto allow DRM/U2F in browsers.--profile=PROFILENAMEto set the right profile. (Only relevant for AppImages)Log
Cannot create an output.
Runing
firejail --profile=/etc/firejail/mpv.profile /usr/bin/mpv --player-operation-mode=pseudo-gui -- %U
it just crashes outright with no output
@flingr commented on GitHub (Apr 11, 2026):
The mpv profile uses the
quietoption by default:76c1c8539a/etc/profile-m-z/mpv.profile (L4)Try adding
--ignore=quietto your test command.@rusty-snake commented on GitHub (Apr 11, 2026):
@SomeoneWhoUsesGit commented on GitHub (Apr 11, 2026):
I do now have some output with my test command, I added the --ignore=quiet and --ignore=apparmor to it.
log
Reading profile /etc/firejail/mpv.profile
Reading profile /etc/firejail/allow-lua.inc
Reading profile /etc/firejail/allow-python2.inc
Reading profile /etc/firejail/allow-python3.inc
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-exec.inc
Reading profile /etc/firejail/disable-interpreters.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/disable-shell.inc
Reading profile /etc/firejail/whitelist-common.inc
Reading profile /etc/firejail/whitelist-player-common.inc
Reading profile /etc/firejail/whitelist-usr-share-common.inc
Reading profile /etc/firejail/whitelist-var-common.inc
firejail version 0.9.80
Seccomp list in: !set_mempolicy, check list: @default-keep, prelist: unknown,
Parent pid 2744, child pid 2745
43 programs installed in 82.44 ms
Warning: An abstract unix socket for session D-BUS might still be available. Use --net or remove unix from --protocol set.
Warning: /sbin directory link was not blacklisted
Warning: /usr/sbin directory link was not blacklisted
Warning: not remounting /run/user/1000/doc
Base filesystem installed in 64.44 ms
Seccomp list in: !set_mempolicy, check list: @default-keep, prelist: unknown,
Child process initialized in 256.15 ms
Parent is shutting down, bye...
end of log
I was just using the default mpv install, I have since added hwdec=auto to my conf file which has made no difference.
I have tried .mp4 and .mkv files.
I just double click them and I get the mpv icon flashing around my cursor for a good 5+ seconds before it aborts.
Usually if I open mpv via start menu it just opens without a video, fails there as well.