mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3360] Cannot start Libreoffice with the latest Firejail #2111
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#2111
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 @youknow16 on GitHub (Apr 15, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3360
@matu3ba commented on GitHub (Apr 17, 2020):
Please dont link to images, if possible, because they may be removed.
The error is
Looks like this may be unrelated.
Libreoffice profiles may just break.
Please try resetting your profile and report.
Meta: Are you running libreoffice as superuser?
If the problem persists:
It is weird that the program fails to read from that path, because the libreoffice profile contains
noblacklist ${HOME}/.config/libreoffice.What is your output of
firejail --debug libreoffice?@rusty-snake commented on GitHub (Apr 17, 2020):
https://github.com/netblue30/firejail/wiki/Frequently-Asked-Questions#ive-noticed-the-title-bar-in-firefox-shows-as-superuser-is-this-normal
@matu3ba commented on GitHub (Apr 19, 2020):
I will check later, when I have time.
@matu3ba commented on GitHub (Apr 20, 2020):
@youknow10 Oh boy, these error messages are most unhelpful.
Could be access related (owner of subfolders
.config/libreofficeis not user), could be a bug/race condition indbus. Could be related to setup.Do you have
JAVA_HOME=/opt/jdkor where is java installed?@matu3ba commented on GitHub (Apr 21, 2020):
@youknow10 what is the output of
which java?@rusty-snake commented on GitHub (Apr 21, 2020):
@youknow10 what happens with
firejail --private --noprofile /usr/bin/libreoffice.@matu3ba commented on GitHub (Apr 21, 2020):
@rusty-snake What does
noblacklist ${PATH}/javaevaluate?@youknow10 Can you try to adjust the paths in
etc/allow-java.inc?noblacklist /etc/javais the path in profile instead of/etc/alternatives/javanoblacklist /usr/lib/javainstead of/usr/lib/jvm/java-11-openjdk-amd64/bin/java.Change it to your setup and report.
@matu3ba commented on GitHub (Apr 21, 2020):
@youknow10 What is the output of
echo $PATH?@matu3ba commented on GitHub (Apr 21, 2020):
@youknow10 What is your
echo $PATH?@rusty-snake commented on GitHub (Apr 21, 2020):
@youknow10 then it is caused by your LO config.
@matu3ba changing paths in
allow-java.incmakes no sense, becausenoblacklisthasn't any effect if there is noblacklist.@rusty-snake commented on GitHub (Apr 21, 2020):
Or some java files in your home or something else in your home.
@captaidman commented on GitHub (Apr 23, 2020):
I've never been able to run Libreoffice in firejail on Linux Mint 19.x. I can only run it outside of firejail. I'm starting to think I should switch to Ubuntu. Linux Mint + firejail is only giving me problems with the apps I use.
@rusty-snake commented on GitHub (Apr 23, 2020):
works it with whitelisting?
libreoffice.local:
If you run
firejail --build /usr/bin/libreoffice, what additional (dot) files are whitelisted in your home.Since
--privateworks something in your home must be the cause.@rusty-snake commented on GitHub (Apr 23, 2020):
Just add it, but then you can save your work.
If you just whitelist .config/libreoffice?
firejail '--whitelist=${HOME}/.config/libreoffice' /usr/bin/libreoffice@rusty-snake commented on GitHub (Apr 23, 2020):
With just whitelist, I mean just. Remove
include whitelist-common.incform libreoffice.local.@matu3ba commented on GitHub (May 3, 2020):
@rusty-snake Would it make sense to label this
firecfg, because it is a bug of the load-path (of the OS) ? I mean this looks like a mess on Linux Mint.@matu3ba commented on GitHub (May 3, 2020):
Candidate for wiki FAQ #2792
"Linux Mint + firejail is only giving me problems with the apps I use."
@rusty-snake commented on GitHub (May 3, 2020):
No, because the firecfg label is for bugs/enhancements in/for firecfg.
@bbhtt commented on GitHub (Jul 9, 2020):
I booted up a Mint 20 VM today to reproduce all Mint specific firejail issues and Libreoffice works perfectly fine under default firejail profiles.
profile.txt
Is this something specific to 19.3 or firejail 0.9.63?
@rusty-snake commented on GitHub (Nov 9, 2020):
still an issue?
@ffff135 commented on GitHub (Dec 8, 2020):
Deleting ~/.config/libreoffice/ works, but I have to do it again every time after running LibreOffice, even when using firejail. I'm using the official LibreOffice AppImage on Debian GNU/Linux 10 (buster).
Command used to start LibreOffice:
Firejail version info:
@ghost commented on GitHub (Dec 8, 2020):
@ffff135 As you can see from your output posted above you're instructing firejail to use the default.profile, which isn't designed for LO. FYI, when using AppImages, explicitly append the --profile=foo option:
@ffff135 commented on GitHub (Dec 8, 2020):
Oops, sorry about that. Running with
firejail --profile=/etc/firejail/libreoffice.profile --appimageworks correctly on my version of firejail. Thank you.@rusty-snake commented on GitHub (Jan 4, 2021):
I'm closing here due to inactivity, please fell free to request to reopen if you still have this issue.