mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1654] zathura fails to start with default zathura.profile #1115
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#1115
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 @Artefact2 on GitHub (Nov 20, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1654
When using the default zathura.profile, zathura complains about D-Bus and only displays a black window, failing to load the document.
I am using firejail 0.9.50. Any ways to solve or work around this?
@smitsohu commented on GitHub (Nov 20, 2017):
Hi @Artefact2, could you try
firejail --ignore=net --noblacklist=/run/user/*/bus zathura foo.pdf?@Artefact2 commented on GitHub (Nov 20, 2017):
Hi @smitsohu, it does work. But I assume, with those flags, it is no longer prevented from accessing the network?
@Artefact2 commented on GitHub (Nov 20, 2017):
firejail --noblacklist='/run/user/*/bus' zathura foo.pdfis interesting. The program still complains about a refused connection, but renders the document correctly.@smitsohu commented on GitHub (Nov 20, 2017):
It's a bug, thanks!
The sandbox is still isolated pretty much from networks owing to
protocol unix.@smitsohu commented on GitHub (Nov 20, 2017):
It probably means that you have two dbus-daemon processes running on your system, one using the /run/user/$UID/bus socket and the other creating an abstract socket. You can run
netstat -p | grep dbus-daemonto get an idea, abstract sockets are prepended there with an @.With
blacklist=/run/user/*/busyou shut down connection to one daemon, withnet noneyou shut down connection to the other.The error message in your first post points to an a11y bus, with probably a socket in the abstract namespace. It seems that zathura tries first to connect to the a11y bus and afterwards to the session bus under /run/user/$UID/bus. An absent a11y bus is still tolerated, but an absent session bus is not.
@smitsohu commented on GitHub (Nov 20, 2017):
Anyways, we will probably need to comment both
blacklist=/run/user/*/busandnet nonein the default profile, because for part of our userbase all D-Bus sockets are abstract. This means that whilenet noneworks fine for you, it will likely break zathura for them.Creating a file /etc/firejail/zathura.local with
should solve this issue for you.