mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #845] LibreOffice doesn't start #574
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#574
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 (Oct 8, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/845
After the latest change for libreoffice.profile, LibreOffice (v. 5.1.5.2 on Fedora 24) doesn't start anymore. On the console I'm getting the error
Failed to open displayThe problem is fixed after uncommenting
# whitelist /tmp/.X11-unix/@netblue30 commented on GitHub (Oct 9, 2016):
I'll look into it, thanks.
@valoq commented on GitHub (Oct 9, 2016):
Whitelisting /temp/.X11-unix only restricts the profile further. Therefore it shouldn't help. Am I missing something?
Also whitelisting this directory will prevent libreoffice from writing several temporary files, necessary for recovering documents after a crash.
Are you by any chance using additional firejail options?
I have seen that issue when using "net none" in a profile.
@valoq commented on GitHub (Oct 9, 2016):
I tried to recreate the issue on a fresh fedora 24 system but libreoffice starts just fine.
Can you please provide more information about how you start libreoffice?
@curiosity-seeker commented on GitHub (Oct 9, 2016):
Well, I created the necessary symlinks for Firejail as usual with sudo firecfg and start LibreOffice via the KDE start menu.
That error message mentioned in the first post was shown when I started it on the console.
@valoq commented on GitHub (Oct 9, 2016):
Using the default fedora 24 system with gnome, Libreoffice 5.1.5.2 and firejail 0.9.43 from today, I was not able to recreate the issue.
Maybe netblue has an Idea why whitelisting could solve anything in the first place.
@chiraag-nataraj commented on GitHub (Oct 9, 2016):
Can you post the full profile (or attach it)? I have a sneaking suspicion that there's a
private-tmpthere which, along with anet none, would completely disable access toX11. Hence you would need to whitelist theX11unix socket.@curiosity-seeker commented on GitHub (Oct 10, 2016):
Okay, I found the culprit. I had added the following rule
whitelist /tmp/mozilla_hank0/to my individual profile as without this rule LibreOffice wouldn't open attachments in Thunderbird mails. Now I've commented that rule and everything works as it should - even opening those attachments.
I don't fully understand the nexus but all is well - sorry for the trouble!