mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1378] /usr/bin/dbus-launch inhibits --x11 server exit. Blacklisting it seems to fix it. #941
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#941
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 @caoliver on GitHub (Jul 13, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1378
I'm not sure if this is documented, but some applications run dbus-launch when they start. This grabs the containing X server, and that server persists after the desired clients exit. The work-around I've just started playing with is to blacklist /usr/bin/dbus-launch. So far, this seems to do the trick, and the server now exits cleanly on application exit.
Example: firejail --net=eth0 --x11 --blacklist=/usr/bin/dbus-launch firefox
@chiraag-nataraj commented on GitHub (Jul 22, 2018):
Yeah, we see this with
gpg-agentsometimes as well (although on systemd systems, you can just usewritable-run-userto allow the program to connect to the user's instance ofgpg-agent).@chiraag-nataraj commented on GitHub (Jul 22, 2018):
We don't really have a way to fix this at present, since as far as
firejailis concerned, there's still a process running within the sandbox.@Fred-Barclay commented on GitHub (Jul 22, 2018):
@chiraag-nataraj Firejail processes from thunderbird always seem to stick around on my system -- maybe this is why? I do have the enigmail extension so it probably calls some gpg stuff.
@chiraag-nataraj commented on GitHub (Jul 23, 2018):
Yeah, if you run
firejail --tree, you should see what's stuck around - in your case, it's probablygpg-agent.