mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #5698] libreoffice: Warning: failed to launch javaldx #3069
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#3069
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 @marek22k on GitHub (Feb 28, 2023).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5698
Description
LibreOffice does not start.
Steps to Reproduce
Steps to reproduce the behavior
aptExpected behavior
LibreOffice works.
Actual behavior
LibreOffice does not works:
Behavior without a profile
What changed calling
LC_ALL=C firejail --noprofile /path/to/programin a terminal?Environment
based on Debian 11
firejail --version).Checklist
/usr/bin/vlc) "fixes" it).https://github.com/netblue30/firejail/issues/1139)Workaround
firejail --ignore=apparmor /usr/bin/libreofficeignore apparmorin/etc/firejail/libreoffice.localLog
Output of
LC_ALL=C firejail /path/to/programOutput of
LC_ALL=C firejail --debug /path/to/programhttps://paste.i2pd.xyz/?1f7331f82321da69#3yggcZ5rkbm3zB7XbPBvJBrQpvNYLgFzSDUDEvuBkNf3
https://gist.github.com/marek22k/0a168124a561cb9053785e74aa1eb13a
Addional logs
$sudo dmesg --follow-new --human | grep apparmor | grep libreofficeresults in:@ghost commented on GitHub (Feb 28, 2023):
That
javaldxis indeed not in our currentallow-java.inc. I don't know what exactly that file is or does. Check your package manager to see what package installs it and where. Then you can try adding these paths to a ~/.config/firejail/allow-java.local to see if that changes anything for the better.@marek22k commented on GitHub (Feb 28, 2023):
apt-file search javaldxreturns nothing.Calling the program:
So it seems that LibreOffice installed javaldx.
@marek22k commented on GitHub (Feb 28, 2023):
With which command?
noblacklist,whitelist, ...@ghost commented on GitHub (Feb 28, 2023):
Hmm, it might be AppArmor. Have you tried the instructions in the libreoffice.profile yet?
1783cda6aa/etc/profile-a-l/libreoffice.profile (L26-L34)@marek22k commented on GitHub (Mar 1, 2023):
As I wrote, it works with
ignore apparmor, however my operating system is based on Debian 11 and not 10. Do the instructions also apply to Debian 11?@ghost commented on GitHub (Mar 2, 2023):
Can't say anything on Debian I'm afraid. I've never used it. But if it works with only ignoring apparmor on Debian 11 we might need to add a comment about that. Let's ping @reinerh, maybe he has a better understanding about these Debian differences.
@reinerh commented on GitHub (Mar 2, 2023):
I see the same warning on Debian unstable:
But it's only a warning here, libreoffice seems to run fine. Maybe it's just some specific feature that needs java (or java works even though javaldx does not).
I would say, if
ignore apparmorfixes it for you, then please use it.