[GH-ISSUE #39] Wine multiarch support #21

Closed
opened 2026-05-05 04:45:36 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @boltronics on GitHub (Aug 22, 2015).
Original GitHub issue: https://github.com/netblue30/firejail/issues/39

Trying to run a 32-bit application under Wine (firejail --trace wine winecfg) spits out a bunch of errors that look like this:

ERROR: ld.so: object '/usr/lib/firejail/libtrace.so' from /etc/ld.so.preload cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.

You can also observe crashes in some of Wine's services:

[wineboot.exe] <defunct>
[winemenubuilder] <defunct>

This has some negative side-effects. eg. run firejail wine winecfg change the operating system version, and click OK. Then run it again, and observe the operating system change was not saved.

/usr/lib/firejail/libtrace.so is an amd64 binary, but it looks like we need a 32-bit version for some Wine prefixes, so we need multiarch support. To support multiarch, I think these should be installed under /usr/lib/{x86_64,i386}-linux-gnu.

Originally created by @boltronics on GitHub (Aug 22, 2015). Original GitHub issue: https://github.com/netblue30/firejail/issues/39 Trying to run a 32-bit application under Wine (`firejail --trace wine winecfg`) spits out a bunch of errors that look like this: ``` ERROR: ld.so: object '/usr/lib/firejail/libtrace.so' from /etc/ld.so.preload cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. ``` You can also observe crashes in some of Wine's services: ``` [wineboot.exe] <defunct> [winemenubuilder] <defunct> ``` This has some negative side-effects. eg. run `firejail wine winecfg` change the operating system version, and click OK. Then run it again, and observe the operating system change was not saved. /usr/lib/firejail/libtrace.so is an amd64 binary, but it looks like we need a 32-bit version for some Wine prefixes, so we need multiarch support. To support multiarch, I think these should be installed under /usr/lib/{x86_64,i386}-linux-gnu.
gitea-mirror 2026-05-05 04:45:36 -06:00
Author
Owner

@netblue30 commented on GitHub (Aug 22, 2015):

I have no idea how to do it in this moment, I'll mark it as an enhancement. Also, --seccomp will not work, syscall numbers are different on 64/32 bit architecture.

<!-- gh-comment-id:133677158 --> @netblue30 commented on GitHub (Aug 22, 2015): I have no idea how to do it in this moment, I'll mark it as an enhancement. Also, --seccomp will not work, syscall numbers are different on 64/32 bit architecture.
Author
Owner

@boltronics commented on GitHub (Aug 22, 2015):

I'm aware about the seccomp issue. But as it stands, it's unsafe to run multi-arch Wine under firejail no matter the profile configuration.

I'm also aware it's most likely just a packaging issue. I'd be happy to help out, but first I've got to find the time. :)

<!-- gh-comment-id:133701121 --> @boltronics commented on GitHub (Aug 22, 2015): I'm aware about the seccomp issue. But as it stands, it's unsafe to run multi-arch Wine under firejail no matter the profile configuration. I'm also aware it's most likely just a packaging issue. I'd be happy to help out, but first I've got to find the time. :)
Author
Owner

@netblue30 commented on GitHub (Oct 24, 2015):

Discussion moved here: https://github.com/netblue30/firejail/issues/86

<!-- gh-comment-id:150810907 --> @netblue30 commented on GitHub (Oct 24, 2015): Discussion moved here: https://github.com/netblue30/firejail/issues/86
Author
Owner

@l29ah commented on GitHub (Jul 18, 2017):

Acutally here: https://github.com/netblue30/firejail/issues/971

<!-- gh-comment-id:316040012 --> @l29ah commented on GitHub (Jul 18, 2017): Acutally here: https://github.com/netblue30/firejail/issues/971
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#21
No description provided.