mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1136] wine speed in firejail #784
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#784
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 @Micha-Btz on GitHub (Mar 8, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1136
Hi there,
more a question than an issue. I have uses ElsterFormular for the German Tax.
It works with and without firejail but in firejail it is unbelievably slow under firejail.
Since I like the idea of wine in firejail it would be interesting if can get a little bit more speed. :-)
I'm not so experienced with wine how are your test and experiences?
Thanks Micha
Below some maybe usefully informations.
https://appdb.winehq.org/objectManager.php?sClass=version&iId=33405
@msva commented on GitHub (Mar 9, 2017):
Did you write custom profile for it?
If so, did you enable any
trace*directives?Some apps can start working very slow when run with trace.
If you don't, then:
~/.cache,/var/cache/),--tracefirejail option, and look, which files it trying to access. Sometimes, applications want to, for example, regenerate font cache, if can't find it, and it can take a long time, if you have tons fonts installed. It also can be anything also pretended to be cached.@Micha-Btz commented on GitHub (Mar 12, 2017):
Hi there,
I use the original from https://github.com/netblue30/firejail/blob/master/etc/wine.profile without a wine.local profile.
maybe it is dedicatet to 32bit:
I will do some tests and report back.
Micha
@netblue30 commented on GitHub (Mar 13, 2017):
One process managed to load librace.so. The library is compiled for 64bit systems.
This is probably another process. It is expecting a 32bit library. Wine is a combination of 32bit and 64bit processes running in parallel. I don't think --trace will work.
Going back to your original problem: if you run the sandbox with --noprofile, do you still see the slowdown?
@Micha-Btz commented on GitHub (Mar 13, 2017):
starting wine with --noprofile, didn't slowdown wine. But now I'm not sure if I smarter now :-P
@netblue30 commented on GitHub (Mar 16, 2017):
I would try to find out what line in the profile is creating the problem: open /etc/firejail/wine.profile and comment out the lines in the profile one by one.
@Micha-Btz commented on GitHub (Mar 27, 2017):
If i comment out seccomp it runs as fast as without firejail.
Maybe dedicated to the switch between 32 and 64bit.
@netblue30 commented on GitHub (Mar 27, 2017):
Thanks for the info, I'll keep an eye on it.