mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2102] No menu in libreoffice #1422
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#1422
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 @nisitiiapi on GitHub (Aug 31, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2102
firejail version 0.9.54
Linux Mint 19
Libreoffice has no menu bar when run in firejail. Without firejail, the menu is present as normal. The problem is consistent across all my computers running Linux Mint 19 and firejail 0.9.54. I am using the default libreoffice profile from 0.9.54 except "apparmor" is uncommented since commenting it prevents libreoffice from starting.
I have tried commenting out everything in libreoffice.profile and nothing brings back the menu. The only thing I cannot comment out is apparmor -- that prevents libreoffice from starting at all (as does firejail --noprofile libreoffice).
I am suspicious that this could be something with apparmor and firejail since that's the only thing I cannot really test. Running without apparmor in the profile or --noprofile just throws a fatal error of:
[context="user"] caught unexpected com.sun.star.deployment.DeploymentException: Extension Manager: failed to read data entry in configuration backend db: file:///home/<user>/.config/libreoffice/4/user/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/backenddb.xmlSince I can't disable apparmor in the profile without libreoffice throwing that error and crashing, I can't seem to track it down for sure.
@Vincent43 commented on GitHub (Aug 31, 2018):
Check for libreoffice AppArmor profile with
sudo aa-statusthen disable it withsudo aa-disable <apparmor-profile-ame>. You may also look at https://github.com/netblue30/firejail/issues/1917@nisitiiapi commented on GitHub (Aug 31, 2018):
Thank you very much. There are 4 apparmor profiles for libreoffice in Mint 19. The offending profile seems to be usr.lib.libreoffice.program.soffice.bin, though I also had to disable usr.libreoffice.program.oosplash (caused a different error in firejail with the other apparmor profile disabled). I was able to keep usr.lib.libreoffice.program.senddoc and usr.lib.libreoffice.program.xpdfimport enforced.
In any event, disabling the two profiles resolved the problem and allowed me to disable apparmor in the libreoffice firejail profile without throwing and error and the menu is now back.
Thanks again.