mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2314] Fail to open firefox in firejail: Error send: arp.c:182 arp_check: Invalid argument #1543
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#1543
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 @SleepyMario on GitHub (Dec 24, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2314
Hello, this happened after upgrading the kernel from 4.19.12 to 4.20.0. Full output is below and I have no idea where even to start looking (same thing happens with apparmor disabled):
firejail --x11=xephyr --apparmor --name=firefox --net=br10 --profile=/etc/firejail/firefox.profile openbox --startup /usr/lib64/firefox/firefox
*** Starting xephyr server: "Xephyr" "-ac" "-br" "-noreset" "-screen" "800x600" "-title" "firejail x11 sandbox" "-resizeable" ":363" ***
The XKEYBOARD keymap compiler (xkbcomp) reports:
*** Attaching to Xephyr display 363 ***
Reading profile /etc/firejail/firefox.profile
Reading profile /etc/firejail/firefox.local
Reading profile /etc/firejail/firefox-common.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-interpreters.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/whitelist-common.inc
Reading profile /etc/firejail/whitelist-var-common.inc
Error send: arp.c:182 arp_check: Invalid argument
@SleepyMario commented on GitHub (Dec 24, 2018):
Sorry this is on Gentoo, firejail v. 0.9.56-r1
@NickMolloy commented on GitHub (Dec 31, 2018):
I am able to reproduce this whenever
netis set to an interface:@SleepyMario commented on GitHub (Dec 31, 2018):
Yes I forgot to report, turning off the bridge in my particularly case made firejail work again. I figured that out a bit later.
@greencopper commented on GitHub (Dec 31, 2018):
I can also confirm this. I am on Arch, but not using a bridge. In this case I am using iptables as a "application firewall" for wine in combination with firejail. This normally works very well, until the kernel upgrade.
I get:
I am running with "firejail 0.9.56-1" and "linux 4.20.arch1-1".
@minus7 commented on GitHub (Dec 31, 2018):
I'm passing a VPN network interface to firejail to confine an application to the VPN and see the same problem.
The relevant code tries to send an ethernet frame on a raw socket:
803d629fcc/src/firejail/arp.c (L177-L182)In the kernel logs I also get warnings regarding some interface; probably a zombie from a failed firejail start:
unregister_netdevice: waiting for eth0-1988 to become free. Usage count = 1Smells more like a kernel bug than something firejail has to fix.
@NickMolloy commented on GitHub (Jan 2, 2019):
The kernel commit that causes this is 99137b7888f4058087895d035d81c6b2d31015c5.