Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor playonlinux as wine redirect #3811

Merged
merged 1 commit into from
Dec 12, 2020

Conversation

rusty-snake
Copy link
Collaborator

Playonlinux is only a (graphical) wrapper around wine. Everything required for wine is therefore required for PoL.
#3800 (comment)

This adds private-dev and whitelist-var-common as additional restriction to PoL, I don't think that it breaks but testing would be greate. (@Rosika2 would you be so kind firejail --include=/etc/firejail/whitelist-var-common.inc --private-dev '--noblacklist=/tmp/.wine-*' --private=media/rosika/f14a27c2-0b49-4607-94ea-2e56bbf76fe1/DATEN-PARTITION/PLAYONLINUX playonlinux).

@Rosika2
Copy link

Rosika2 commented Dec 11, 2020

@rusty-snake:

Hi,
I did what you suggested and I may confirm the respective command works just fine. Exit status: 0.
So everything should be alright.
For the sake of completeness here´s the terminal output:

firejail --include=/etc/firejail/whitelist-var-common.inc --private-dev '--noblacklist=/tmp/.wine-*' --private=media/rosika/f14a27c2-0b49-4607-94ea-2e56bbf76fe1/DATEN-PARTITION/PLAYONLINUX playonlinux
Reading profile /etc/firejail/whitelist-var-common.inc
Reading profile /etc/firejail/playonlinux.profile
Reading profile /etc/firejail/allow-python2.inc
Reading profile /etc/firejail/allow-python3.inc
Reading profile /etc/firejail/allow-perl.inc
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-interpreters.inc
Reading profile /etc/firejail/disable-programs.inc
Warning: networking feature is disabled in Firejail configuration file
Parent pid 19937, child pid 19938
Warning: cleaning all supplementary groups
Warning: cleaning all supplementary groups
Child process initialized in 7108.66 ms
Looking for python... 2.7.17 - wxversion(s): 3.0-gtk3
selected
1
[main] Message: PlayOnLinux (4.3.4) is starting
[clean_tmp] Message: Cleaning temp directory
[Check_OpenGL] Message: 32bits direct rendering is enabled
[Check_OpenGL] Message: 64bits direct rendering is enabled
[POL_System_CheckFS] Message: Checking filesystem for /home/rosika/.PlayOnLinux/
[main] Message: Filesystem is compatible
wget-log: Das Dateisystem ist nur lesbar; Protokollierung wird ausgeschaltet.
[...]
(mainwindow.py:15): Gtk-CRITICAL **: 17:26:51.672: gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed

(mainwindow.py:15): Gtk-WARNING **: 17:26:51.672: Negative content width -5 (allocation 2, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)

(mainwindow.py:15): Gtk-CRITICAL **: 17:26:51.703: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
wget-log: Das Dateisystem ist nur lesbar; Protokollierung wird ausgeschaltet.
[...]
[install_plugins] Message: Überprüfe Plugin: Capture...
[install_plugins] Message: Überprüfe Plugin: ScreenCap...
wget-log: Das Dateisystem ist nur lesbar; Protokollierung wird ausgeschaltet.
[...]
[install_plugins] Message: Überprüfe Plugin: PlayOnLinux Vault...
wget-log: Das Dateisystem ist nur lesbar; Protokollierung wird ausgeschaltet.
[...]
[update_check] Message: List is up to date
[POL_Wine] Message: Running wine-4.0.4 start.exe /wait /unix  (Working directory : /home/rosika/.PlayOnLinux/wineprefix/drive_c/drive_c/ProgramData/Microsoft/Windows/Start Menu/Programs)
[POL_Wine] Message: Notice: PlayOnLinux deliberately disables winemenubuilder. See http://www.playonlinux.com/fr/page-26-Winemenubuilder.html
[POL_Wine] Message: Wine return: 0
Registered PID: 264 (Missing)
Registered PID: 265 (Missing)
Registered PID: 528 (Present)
Registered PID: 574 (Missing)

Parent is shutting down, bye...
rosika@rosika-Lenovo-H520e ~> echo $status 
0

Thanks for your help.
Many greetings and keep safe.
Rosika

@rusty-snake rusty-snake merged commit f9ef885 into netblue30:master Dec 12, 2020
@rusty-snake rusty-snake deleted the pol-red-wine branch December 12, 2020 11:18
@matu3ba matu3ba mentioned this pull request Oct 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants