You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: code/worker.sh
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -83,12 +83,15 @@ fi
83
83
84
84
echo"==========================================="
85
85
86
+
# Disable network access for the AppImage under test
87
+
sudo ip netns add jail
88
+
86
89
# TODO: If everything succeeded until here, then download Firejail aith Xpra and run the application in it
87
90
# and take screenshots if we don't have them already from AppStream
88
91
89
92
# LD_DEBUG=libs "$APPDIR/AppRun" & # Getting "Desktop file is missing. Please run /mnt/AppRun from within an AppImage." with wire-2.15.2751-x86_64.AppImage
90
93
chmod +x "$FILENAME"
91
-
LD_DEBUG=libs ./"$FILENAME"&
94
+
sudo ip netns exec jail su $USER -c ./"$FILENAME"&
0 commit comments