mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #5401] libreoffice: cannot start due to whitelist-run-common.inc #2985
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#2985
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 @cvlc12 on GitHub (Oct 4, 2022).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5401
Description
Libre office needs
include whitelist-run-common.incto be commented out orignore include whitelist-run-common.incin order to launch, otherwise it complains thatUser installation could not be completed.Steps to Reproduce
Running LibreOffice after running
$ sudo firecfgExpected behavior
LO runs normally
Actual behavior
Behavior without a profile
firejail --noprofile /usr/bin/libreofficeworksAdditional context
I don't understand how disabling a whitelist makes it work.
Environment
Checklist
/usr/bin/vlc) "fixes" it).https://github.com/netblue30/firejail/issues/1139)browser-allow-drm yes/browser-disable-u2f noinfirejail.configto allow DRM/U2F in browsers.--profile=PROFILENAMEto set the right profile. (Only relevant for AppImages)Log
Output of
LC_ALL=C firejail /path/to/programOutput of
LC_ALL=C firejail --debug /path/to/program@rusty-snake commented on GitHub (Oct 4, 2022):
Can you start LO w/o wrc and post
ls -A ${XDG_RUNTIME_DIR}.No whitelist, no missing whitelist. Everything is allowed that isn't blacklisted.
@cvlc12 commented on GitHub (Oct 5, 2022):
The output if
ls -A ${XDG_RUNTIME_DIR}doesn't appear to be different before or after launching LO@rusty-snake commented on GitHub (Oct 5, 2022):
What does
echo $DBUS_SESSION_BUS_ADDRESSshow?Does it work if you
whitelist ${RUNUSER}/*? Assuming yes, add whitelist for all of them and remove them one by one (for file in ${XDG_RUNTIME_DIR}/*; do echo "whitelist $file"; done).@cvlc12 commented on GitHub (Oct 8, 2022):
Apparently, whitelisting
${RUNUSER}/*doesn't work (LO doesn't even launch):but just to make sure, is this what you meant ?
@rusty-snake commented on GitHub (Oct 8, 2022):
FUSE, could had though about it.
Anyway, then do
file in ${XDG_RUNTIME_DIR}/*; do echo "whitelist $file"; doneand remove gvfs and flatpak (app, doc) stuff.@rusty-snake commented on GitHub (Oct 30, 2022):
I'm closing here due to inactivity, please fell free to request to reopen if you still have this issue.