Closed TheBSODAndWSODFan closed 9 months ago
also, implement fallback mode, if bubblewrap mode doesn't work in older distro, fallback to legacy mode.
Those errors/warnings are not something we can detect and workaround. There's something irregular about your installation, this doesn't occur in Debian 11. Are there any folders in your home directory that are not owned by your user:group?
How did you build it? Using dpkg-buildpackage or straight meson/ninja? If the latter, what install prefix did you use when configuring meson?
Fwiw, Debian 12 has Landlock enabled by default, which is superior to (and simpler than) bubblewrap.
Update, installing on my host machine (MX Linux 21.3 Debian 11 with SystemD) works fine using Landlock and Bubblewrap. But, (MX Linux 21.3 Devuan 4 with SysVinit) a.k.a VM that i tested before, doesn't work with bubblewrap and landlock and it seems landlock not available in liquorix kernel. after switching kernel to 6.1 LTS kernel, works fine using landlock.
So. i will close this issue until bubblewrap fallback to legacy.
Ok I got mx 21.3 on a virtual machine. This looks like it's happening because MX uses /tmp for their dbus session bus path instead of $XDG_RUNTIME_DIR (/run/user/nnnn). In the bubblewrap script we're setting up a new /tmp so it blocks the host's from being readable.
You can test this by editing /usr/libexec/warpinator/warpinator-launch.py
and removing or commenting this line.
I'm not sure yet how I'm going to address it. Maybe just allow access to /tmp.
Distribution
Debian 11 (MX Linux 21.3)
Package version
1.8.3 (compiled myself)
Frequency
Always
Bug description
When running warpinator in normal mode (bubblewrap), the app icon shows in taskbar and window is blank, and terminal showing this line multiple times and memory leak
but if running in legacy mode, it launch fine
Steps to reproduce
I open terminal and type warpinator, and showing dconf error Full Log:
Expected behavior
if running in legacy mode, works just fine
Additional information
https://github.com/linuxmint/warpinator/assets/78845241/fdd2b2d7-c906-414e-8824-ef60f54109f3