Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snap does not start on Ubuntu 19.04 #112

Closed
onetransistor opened this issue May 2, 2019 · 6 comments
Closed

Snap does not start on Ubuntu 19.04 #112

onetransistor opened this issue May 2, 2019 · 6 comments

Comments

@onetransistor
Copy link

After installing from Snap (version 0.2.5 appears in Ubuntu Software), when attempting to launch:

[6779:0502/182042.490475:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /snap/mqtt-explorer/15/chrome-sandbox is owned by root and has mode 4755.
Trace/breakpoint trap (core dumped)

That shouldn't be a big deal since one could use chown and chmod to set file owner and permissions. However, "It's impossible to change the contents of the snap without re-building the snap".

@onetransistor onetransistor changed the title Does not start on Ubuntu 19.04 Snap does not start on Ubuntu 19.04 May 2, 2019
@thomasnordquist
Copy link
Owner

Thanks for reporting.
I'm onto it, in the meantime I rolled back snapcraft to 0.2.3.

This problem seems to be limited to snap packages. I'll keep you posted on the progress.

@thomasnordquist
Copy link
Owner

Snaps disallow suid flags in app reviews....

  - found errors in file output: unusual mode 'rwsr-xr-x' for entry './chrome-sandbox'

@thomasnordquist
Copy link
Owner

thomasnordquist commented May 2, 2019

I fixed it in the current build and released a new snapcraft build. Since the build number is incremented all affected people should receive the patched release.

Keeping this issue open since there are still things to do:

  • Check AppImage builds with different kernel options (see referenced issue)
    => sudo sysctl kernel.unprivileged_userns_clone=0
  • Disable the sandbox for future snap builds (rely on the snapd sandbox)
  • Find better option then to modify the snap after it has been packaged. Wait how the electron community deals with the sandbox / permission issues.

@thomasnordquist
Copy link
Owner

Nasty issue since I only tested the AppImage/OSX/"Windows Installer" builds.
I should evaluate if it is possible to run automated ui-tests for all the downloadable formats.

You should be able to update with sudo snap refresh mqtt-explorer.

@onetransistor
Copy link
Author

It is working now. Thank you!

@thomasnordquist
Copy link
Owner

Thank you for the quick bug-report 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants