DEB/RPM application crash due to fallback sandbox
See original GitHub issueDescription
If Marktext is installed with deb package it fails to start with Trace/breakpoint trap
error.
- Can you reproduce the issue?
Steps to reproduce
- Install deb package
- Launch application
Trace/breakpoint trap
error
Expected behavior: Application starts
Actual behavior: Application does not start
Versions
- Mark Text:
0.16.0-rc.2
- Operating system:
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
DEB/RPM application crash due to fallback sandbox ... - Issuehunt
If Marktext is installed with deb package it fails to start with Trace/breakpoint trap error. <!-- Description of the bug -->. Can you...
Read more >Flatpak: A security nightmare – two years later - Hacker News
But the apps themselves still show "Sandboxed" when they aren't[1]. It's trivial for the flatpak "store" to just hide "sandboxed" if the ...
Read more >nix bundle - NixOS
nix bundle - bundle an application so that it works outside of the Nix store ... Common flake-related options: ... Disable the sandbox-fallback...
Read more >What is the point of appimages? : r/linux - Reddit
appimage workflow is less secure than traditional deb/rpm/pacman ... which crashes on startup or displays a black screen due to this, ...
Read more >799144 - Switch to using appindicator3 by default on Linux
but older versions of GNOME not showing the application indicator by default. ... This unfortunately can't change due to an Ubuntu bug ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
TLTR: Please enable user namespaces for your kernel because Chromium’s fallback sandbox crashes due to some packaging issue that we cannot solve currenlty.
The crash is actually an issue with Electron’s/Chromium’s fallback sandbox and how we pack the Debian package. It seems that Chromium’s fallback sandbox doesn’t support spaces and our package is saved under
/opt/Mark Text/
but we are unable to change this location. I’ll open an upstream issue atelectron-builder
to be able to use a custom output name such asmarktext
or to always remove spaces.Currently you could:
sudo sysctl kernel.unprivileged_userns_clone=1
,--no-sandbox
argument or/opt/Mark Text/
directory to/opt/marktext
but you may change all links and path too. Mark Text will not be uninstalled due to path changes!Edit: I guess this applies to RPM package too.
I can confirm this issue with Debian 10.5 and Marktext 0.16.2.
The following above mentioned workaround worked for me: