mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #562] Can't launch LibreOffice with --net=none #399
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#399
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 @GabrielH0we on GitHub (Jun 11, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/562
I'm trying to restrict LibreOffice from accessing internet.
Here is my config
And here is what I see in konsole:
LibreOffice(19)/kdeui (kdelibs): Session bus not found To circumvent this problem try the following command (with Linux and bash) export $(dbus-launch)It starts fine without "net none" in .profile.
I tried configurations from #379, but they don't work for me. I see
execvp: No such file or directoryeven if I start libreoffice from a symlink at /usr/local/bin/
Firejail version is 0.9.41 (cloned from git).
UPD: it actually grsecurity, that kills libreoffice process for resource overstep. Tried to fix it with paxctl -cm, but it didn't work.
@netblue30 commented on GitHub (Jun 11, 2016):
When you use --net, the dbus socket is discarded by the network namespace, so there will not be any dbus support. It looks like libreoffice crashes - a very few programs do this. It is a libreoffice bug, or maybe a kdelibs bug.
@netblue30 commented on GitHub (Jun 11, 2016):
A workaround: comment out "net none" in your profile, and replace "protocol unix,inet,inet6" with "protocol unix". This should reject the network connections, but it will not interfere with dbus functionality.
@chiraag-nataraj commented on GitHub (Jun 13, 2016):
Huh. I'm curious which version of libreoffice you're using. I'm using the latest development version which works fine with
--net=none.@GabrielH0we commented on GitHub (Jun 13, 2016):
As I wrote in the original message, it's Grsecurity, that kills Libreoffice process for resource overstep.
Workaround with "protocol unix" works fine with Grsecurity.