mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #6171] tesseract: output contains firejail messages #3208
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#3208
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 @kmille on GitHub (Jan 26, 2024).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6171
Hey, I'm using firejail on Arch Linux. My problem:
--versionshows version of firejail and not of the actual program (and/or some additional debug output).What I expect:
What I get
I'm using
@rusty-snake commented on GitHub (Jan 26, 2024):
This is expected/intended behaviour. You can add
quitetoevince.profileor setquiet-by-default yesinfirejail.configto make firejail quite for evince/global.@rusty-snake commented on GitHub (Jan 26, 2024):
Reopening, there's a regression from
f019f0ec3f(@kmk3).@kmille commented on GitHub (Jan 27, 2024):
Thanks for the explanation! Not sure what you mean with the regression thing. I tried
quiet, there is still an issue:What I'm actually trying to do is (I guess ocrmypdf calls
tesseract --version):So now, there is still this one line
Reading profile /etc/firejail/tesseract.profile.Expected output:
@rusty-snake commented on GitHub (Jan 27, 2024):
Firejail profiles are imperative,
quiettakes effect from the time it is read. Ifquietis not the first command in a profile, everything before it may produces some output. Related: #3503~/.config/firejail/tesseract.profile:@kmk3 commented on GitHub (Jan 28, 2024):
@kmille on Jan 26:
It does show the version of the program. From your log:
The firejail version is just part of the normal firejail output.
evinceis a GUI program (and is not used as a CLI as far as I know), so it isnot
quietby default.This is working as intended.
@kmille on Jan 27:
So it seems that the actual issue is that tesseract is a CLI program but its
profile does not contain
quiet. That can be easily fixed.