mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #971] ld.so.preload issue when running x32 apps on x64 host #658
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#658
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 @djfd on GitHub (Dec 12, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/971
Hi,
currently this simply does not work. E.g.
Could you please change build script to produce required x32 libraries on x64 hosts and also add a piece of logic to startup routine to supply right libraries when starting x32 apps...
thanks
@netblue30 commented on GitHub (Dec 13, 2016):
You are right, currently the libraries are hardcocde to the original build (64bit in this case). I'll set is as an enhancement, thanks.
@djfd commented on GitHub (Dec 13, 2016):
that will not be easy, it seems... there are compiled apps, but also there are various shell scripts launchers and it is impossible to know what binaries they will load...
possible need to supply both x32 and x64 libraries in x64 environments...
@netblue30 commented on GitHub (Dec 14, 2016):
I'll try to see how far I can go on this one. Building the libraries is not such a problem. I don't know in this moment how to detect what library should be loaded. I am looking at Wine, it starts up as a 64bit executable and then it switches to 32bit.
@djfd commented on GitHub (Dec 14, 2016):
it seems the only way to supply both kinds simultaneously?
eg.one can run
firejail... --shell=none bash -c "xterm-x64 & ; untrusted-x32"))) I am doing so to check what is going on ))UPD or maybe to use some launch hooks, if there such kind of things in linux
UPD2 this stackexchang question looks very similar
@rusty-snake commented on GitHub (Jan 25, 2020):
still an issue?