[GH-ISSUE #2224] Errors with Wine running Papers Please #1493

Closed
opened 2026-05-05 08:09:40 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @asdfghjz on GitHub (Oct 29, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2224

Log:

usr@LINUX:~$ firejail wine PapersPlease-1.1.65.msi
Reading profile /etc/firejail/wine.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/disable-devel.inc
Parent pid 2963, child pid 2966
Child process initialized
wine: cannot find L"C:\\windows\\system32\\PapersPlease-1.1.65.msi"

Parent is shutting down, bye...
usr@LINUX:~$ 


I can assure you it worked without firejail. Although I have only tested this in a VM.

Originally created by @asdfghjz on GitHub (Oct 29, 2018). Original GitHub issue: https://github.com/netblue30/firejail/issues/2224 **Log:** ``` usr@LINUX:~$ firejail wine PapersPlease-1.1.65.msi Reading profile /etc/firejail/wine.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/disable-devel.inc Parent pid 2963, child pid 2966 Child process initialized wine: cannot find L"C:\\windows\\system32\\PapersPlease-1.1.65.msi" Parent is shutting down, bye... usr@LINUX:~$ ``` I can assure you it worked without firejail. Although I have only tested this in a VM.
gitea-mirror 2026-05-05 08:09:40 -06:00
Author
Owner

@crass commented on GitHub (Oct 29, 2018):

@asdfghjz You probably need to add --whitelist="$(pwd)/PapersPlease-1.1.65.msi". There may be other whitelists needed too for wine, as I'm unfamiliar with using wine and firejail. It does seem odd that system32 in seems to map to your users $HOME dir.

<!-- gh-comment-id:434003185 --> @crass commented on GitHub (Oct 29, 2018): @asdfghjz You probably need to add `--whitelist="$(pwd)/PapersPlease-1.1.65.msi"`. There may be other whitelists needed too for wine, as I'm unfamiliar with using wine and firejail. It does seem odd that `system32` in seems to map to your users `$HOME` dir.
Author
Owner

@reinerh commented on GitHub (Oct 29, 2018):

I think it searches in system32 if it can't find the specified file in the current directory (which firejail is preventing).
You could copy the file into your wine C: drive (~/.wine/drive_c/) and run it from there. That should work without any profile changes or additional whitelists.

<!-- gh-comment-id:434015271 --> @reinerh commented on GitHub (Oct 29, 2018): I think it searches in system32 if it can't find the specified file in the current directory (which firejail is preventing). You could copy the file into your wine C: drive (~/.wine/drive_c/) and run it from there. That should work without any profile changes or additional whitelists.
Author
Owner

@rusty-snake commented on GitHub (Apr 20, 2019):

@asdfghjz still a problem?

<!-- gh-comment-id:485139253 --> @rusty-snake commented on GitHub (Apr 20, 2019): @asdfghjz still a problem?
Author
Owner

@rusty-snake commented on GitHub (Jun 26, 2019):

@asdfghjz I'm closing here due to inactivity, please fell free to reopen if you have more questions.

<!-- gh-comment-id:505789805 --> @rusty-snake commented on GitHub (Jun 26, 2019): @asdfghjz I'm closing here due to inactivity, please fell free to reopen if you have more questions.
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#1493
No description provided.