installed from latest .deb on a debian derivate
on launch
$ipfs-desktop
$Trace/breakpoint trap
The same issue on Debian 10 after .deb install:
$ipfs-desktop
$Trace/breakpoint trap
And it's not starting from inside the xfce app menu.
Yep, I confirm on Debian 10.
Thanks for reporting, looking asap!
I believe it is the same problem as described in https://github.com/signalapp/Signal-Desktop/issues/3536.
IUUC this needs to be fixed in electron-builder responsible for creating .deb.
I've added this to v0.10.4 (#1343)
For now, available workarounds are:
ipfs-desktop --no-sandboxsysctl kernel.unprivileged_userns_clone=1 firejail ipfs-desktop --no-sandbox@commandline-be @alphanmoon @nekr0z
Let me know if any of this helped. If not, please share the output of uname -a
Thanks for the very informative response.
😁 I already hope for a rewrite in rust so this sandbox nonsense can be left behind.
Nonsense indeed.. I hoped for a generic fix, but Chrome/Electron sandbox situation on Linux is nearly as bad as the tray icon one (#1153) :upside_down_face:
Below is my brain dump. TL;DR: fix is in https://github.com/ipfs-shipyard/ipfs-desktop/pull/1370
As noted in https://github.com/ssbc/patchwork/issues/1217#issuecomment-560468383 and 99999 issues about --no-sandbox one can find on github, nobody seems to agree how to handle this mess.
CLONE_NEWUSER or root SUID on chrome-sandbox, discourage --no-sandboxUgh.. ok. Even if we ignore security considerations of SUID and are okay with going that route... we can't. Not everywhere:
So.. what are our options given we are bound to Electron and electron-builder?
executableArgs to --no-sandbox in electron-builder.yml.Exec command in ipfs-desktop.desktop manifest that is run when menu item / icon in desktop environment is clicked. --no-sandbox manually – will update README.Hi friends, fyi v0.10.4 shipfs with updated ipfs-desktop.desktop manifest which starts ipfs-desktop with --no-sandbox by default, restoring startup via GUI shortcut on Debian 10.