standard-notes-3.0.16-x86_64 runs only with --no-sandbox #2461
-
|
When attempting to run Standard Notes from the desktop, it will silently fail. When one attempts to run it via the command-line the following output is received:
The output from tailing /var/log/syslog is as follows:
Attempts to remediate the issue is as follows:
Environment:
Please do let me know if there's any additional information I can provide to assist. Or steps I need to perform. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 18 comments
-
|
I have the same issues, the same error message. (MX Linux 18.3, XFCE) |
Beta Was this translation helpful? Give feedback.
-
|
@shinanqu - thank you. That saves me from having to start Standard Notes differently from other apps. I appreciate it. I will keep the 3.0.16 App Image on my computer and I will continue to monitor this issue to see if I can help with the fix. Thanks again. |
Beta Was this translation helpful? Give feedback.
-
|
I'm seeing the same issue with standard-notes-3.0.16-x86_64.AppImage with: Also, standard-notes-3.0.16-x86_64.AppImage works fine with: Thanks, and cheers! |
Beta Was this translation helpful? Give feedback.
-
|
Surprisingly no good vendor solution for this. Requires user OS configuration. You can start the app from the command line with:
Possible workarounds (via electron/electron#17972 (comment))
electron/electron#17972 (comment) |
Beta Was this translation helpful? Give feedback.
-
|
Hi Mo: |
Beta Was this translation helpful? Give feedback.
-
|
From security point of view, instead of running Standard Notes with "--no-sandbox", it would be better to enable the kernel feature "user namespaces", which Mobitar also mentioned. The actual method to do this varies between distros. For PureOS I managed to do it by adding the line.. kernel.unprivileged_userns_clone=1 ..to one of the .conf-files located at folder /etc/sysctl.d/ The command sysctl -w kernel.unprivileged_userns_clone=1 would probably do the the same thing (haven't tested that yet). Discussion about this can be found here: https://superuser.com/questions/1094597/enable-user-namespaces-in-debian-kernel |
Beta Was this translation helpful? Give feedback.
-
|
Hi affe42: Thanks to your extra nudge, I went down the "user namespaces" rabbit hole a bit and did a bunch of reading. It now makes sense to me why enabling "user namespaces" is a better solution, so... I removed "--no-sandbox" from my launchers (and confirmed that the issue came back). Then I created: After rebooting, standard-notes-3.0.16-x86_64.AppImage now launches without issue on both of my Debian 9 and Debian 10 instances. I'll add this detail to my Debian configuration notes...which I keep in Standard Notes, of course. ;) Thanks! |
Beta Was this translation helpful? Give feedback.
-
I had the same idea but cannot find older versions of SN yet |
Beta Was this translation helpful? Give feedback.
-
You should be able to download SN 3.0.15 from here: You might have to expand "Assets" to see the downloads. Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
|
If you choose to downgrade to 3.0.15, be sure you are only doing so if you have your notes synced to your account. 3.0.15 and 3.0.16 use different underlying storage mechanisms, and are not backward compatible, so your local data may be wiped. |
Beta Was this translation helpful? Give feedback.
-
It did work fine for me yesterday (I did not loose anything) but now it is not working... I am currently updating on the web editor but i is not nice. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you all, switched to root using sudo -i and ran the following one line, then reboot. It works perfect.
|
Beta Was this translation helpful? Give feedback.
-
|
This works fine, no system crash - until now! - and I finally recover the access to standardnotes app. |
Beta Was this translation helpful? Give feedback.
-
I have found a completely opposite point of view:
Also, there is an additional information about the packaging that might help solve this issue.
Maybe it's time to release a snap package? :) standardnotes/desktop#250 |
Beta Was this translation helpful? Give feedback.
-
I do understand this technical post in very general terms nevertheless the conclusion is very clear. |
Beta Was this translation helpful? Give feedback.
-
|
Standard Notes is now available as a snap package: |
Beta Was this translation helpful? Give feedback.
-
|
The snap is running with the --no-sandbox flag. Check running processes after launching SN. |
Beta Was this translation helpful? Give feedback.
-
|
As of version We are currently triaging our older issues, please let us know if you are still facing any problems. |
Beta Was this translation helpful? Give feedback.
As of version
3.149.5with a fresh Ubuntu LTS install, this doesn't seem to be a problem, so I will mark it resolved.We are currently triaging our older issues, please let us know if you are still facing any problems.