mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2101] Firejail breaks evince printing #1421
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#1421
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 @matu3ba on GitHub (Aug 30, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2101
Ubuntu 18.04.1 LTS
firejail version 0.9.56~rc1
GNOME-Dokumentenbetrachter 3.28.2
firejail --noprofile evincedoes not work as well,but
sudo firecfg --cleanmakes evince possible to print again.To that regard uncommenting
nodbusmakes no difference (for me).From the issue #1843 or commit
7a37dc31abonly-# blacklist /run/user/*/buswas removed and+# nodbusadded.Did anybody have issues or can reason about why dbus was not removed in the first place?
@SkewedZeppelin commented on GitHub (Aug 30, 2018):
Can you clarify?
Can you run each of the following and confirm whether you can print on not?
@matu3ba commented on GitHub (Aug 30, 2018):
The printing dialog opens, however no installed and connected printer device is found.
Running neither of the commands did show up the according printer device.
In comparison okular works like expected.
@matu3ba commented on GitHub (Aug 30, 2018):
Do the following messages help? They occur in each of the commands [and
# nodbusis used], so dbus use should work.GLib-GIO-CRITICAL **: 23:49:32.556: g_dbus_proxy_new_sync: assertion G_IS_DBUS_CONNECTION (connection)' failed
** (evince:161): WARNING **: Connection failed: No authorization
** (evince:161): WARNING **: Couldn't connect to D-Bus system bus, Connection failed: No authorization
@Vincent43 commented on GitHub (Aug 31, 2018):
Is evince confined by AppArmor? You may check with
sudo aa-status.@matu3ba commented on GitHub (Sep 1, 2018):
sudo aa-statusapparmor module is loaded.
25 profiles are loaded.
23 profiles are in enforce mode.
/sbin/dhclient
/usr/bin/evince
/usr/bin/evince-previewer
/usr/bin/evince-previewer//sanitized_helper
/usr/bin/evince-thumbnailer
/usr/bin/evince-thumbnailer//sanitized_helper
/usr/bin/evince//sanitized_helper
/usr/bin/man
/usr/lib/NetworkManager/nm-dhcp-client.action
/usr/lib/NetworkManager/nm-dhcp-helper
/usr/lib/connman/scripts/dhclient-script
/usr/lib/cups/backend/cups-pdf
/usr/lib/lightdm/lightdm-guest-session
/usr/lib/lightdm/lightdm-guest-session//chromium
/usr/sbin/cupsd
/usr/sbin/cupsd//third_party
/usr/sbin/tcpdump
libreoffice-senddoc
libreoffice-senddoc//sanitized_helper
libreoffice-soffice//gpg
libreoffice-xpdfimport
man_filter
man_groff
2 profiles are in complain mode.
libreoffice-oopslash
libreoffice-soffice
2 processes have profiles defined.
2 processes are in enforce mode.
/sbin/dhclient (962)
/usr/sbin/cupsd (2634)
0 processes are in complain mode.
0 processes are unconfined but have a profile defined.
Yes, it is. How do I fix this? Is this not tested during call of
firecfg?@Vincent43 commented on GitHub (Sep 1, 2018):
The only thing
firecfgdoes is making symlink from evince to firejail. You have to decide if you prefer using AppAmor or firejail to sandbox evince and disable the other one.@matu3ba commented on GitHub (Sep 1, 2018):
@Vincent43 Thanks alot.
Curiously evince with printing also works with the option
nodbusenabled (so dbus disabled).