mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3701] Firefox native messaging regression in 0.9.62.4 -> 0.9.64rc1 #2331
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#2331
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 @cinnaboot on GitHub (Oct 26, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3701
When upgrading to firejail 0.9.64rc1, the firefox extension https://github.com/woodruffw/ff2mpv breaks.
It makes use of https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_messaging to talk to other native applications.
In firefox.local, I have
# Python 3noblacklist ${PATH}/python3*noblacklist /usr/include/python3*noblacklist /usr/lib/python3*noblacklist /usr/lib64/python3*noblacklist /usr/local/lib/python3*noblacklist /usr/share/python3*After upgrading to 1.9.64rc1 (and in 1.9.64), I get the following in strace:
[pid 261] execve("/home/user/.mozilla/ff2mpv.py", ["/home/user/.mozilla/ff2mpv.py", "/home/user/.mozilla/native-mes"..., "ff2mpv@yossarian.net"], 0x7f9a121b4c00 /* 86 vars */) = -1 EACCES (Permission denied)firejail --noprofile does work too
Do I need to add some more options for the new DBus filtering maybe?
Forgot to add, this is on Arch Linux
@rusty-snake commented on GitHub (Oct 26, 2020):
Add
ignore noexec ${HOME}to your firefox.local.In 0.9.62 was
ignore noexec ${HOME}by default set even it shouldn't.@cinnaboot commented on GitHub (Oct 26, 2020):
Thanks, that helped.
I ended up needing to add a bunch of stuff from mpv.profile to make it go also: