mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1629] okular: printing is broken #1095
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#1095
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 @curiosity-seeker on GitHub (Nov 3, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1629
Whenever I try to print a document in Okular, I get the folllowing error:
If I execute
firejail --debug okularthe output contains:Huh? Strange!
Commenting the
private-binline in the profile solves the problem. But why can't lpr be found?@smitsohu commented on GitHub (Nov 3, 2017):
Hi @curiosity-seeker, sorry for the trouble and thanks for reporting! The likely reason is that lpr for you is a symlink to /etc/alternatives/print, which is again a symlink to /usr/bin/lpr.cups. So adding 'alternatives' to the
private-etcline and 'lpr.cups' toprivate-binline should fix it.@curiosity-seeker commented on GitHub (Nov 3, 2017):
Yes, indeed, that fixes the issue! Thank you very much for the quick solution!
EDIT: Adding 'alternatives' to
private-etcand keeping 'lpr' inprivate-binis sufficient.