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

[BUG] no sandbox under Ubuntu 24.04 #3244

Open
3 tasks done
Tacitoku opened this issue Nov 16, 2024 · 3 comments
Open
3 tasks done

[BUG] no sandbox under Ubuntu 24.04 #3244

Tacitoku opened this issue Nov 16, 2024 · 3 comments
Labels
bug Something isn't working Jira This ticket is being tracked in Jira

Comments

@Tacitoku
Copy link

Code of conduct

Self-training on how to write a bug report

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

After updating the OS to Ubuntu 24.04 and executing the latest Session AppImage from the commandline, it terminates with this message:
[22482:1116/152451.248313:FATAL:zygote_host_impl_linux.cc(127)] No usable sandbox! Update your kernel or see https://chromium.googlesource.com/chromium/src/+/main/docs/linux/suid_sandbox_development.md for more information on developing with the SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox.
on the referenced site one reads:
IMPORTANT NOTE: The Linux SUID sandbox is almost but not completely removed. See https://bugs.chromium.org/p/chromium/issues/detail?id=598454 This page is mostly out-of-date.

Starting the AppImage with the option --no-sandbox works, but is not a secure method of use.
Moreover the external dependence is outdated.

A convenient solution from the user's point of view would be an installation program that checks the dependencies on the target operating system and then installs everything necessary.

Expected Behavior

The Session UI should start.

Steps To Reproduce

  1. install Ubuntu 24.04
  2. download the Session AppImage for this OS
  3. start the AppImage from the commandline
  4. start the AppImage with the option --no-sandbox from the commandline

Desktop Version

session-desktop-linux-x86_64-1.14.2.AppImage

Anything else?

No response

@Tacitoku Tacitoku added the bug Something isn't working label Nov 16, 2024
@Bilb
Copy link
Collaborator

Bilb commented Nov 18, 2024

Hey, could you try using the deb package instead and let me know if that works?

@Tacitoku
Copy link
Author

Thanks for the hint, which solves the issue.
At first I searched on https://getsession.org/download for the instruction to install session-desktop using the dep package.
Then I found the link to https://deb.oxen.io/ on https://github.com/oxen-io/session-desktop where I finally found the commands to install using the dep package:

    sudo curl -so /etc/apt/trusted.gpg.d/oxen.gpg https://deb.oxen.io/pub.gpg
    echo "deb https://deb.oxen.io $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/oxen.list
    sudo apt update
    sudo apt install session-desktop

And now session-desktop works great again on Ubuntu 24.04!

Would it be good idea to inform the user who want to install session-desktop for Linux on https://getsession.org/download that there is an alternative way besides downloading the AppImage?

@KeeJef
Copy link
Collaborator

KeeJef commented Nov 19, 2024

Yeah we should add a button to the website which links to instructions on how to install the .deb ( alongside the appimage button), tracking internally via WEB-350

@KeeJef KeeJef added the Jira This ticket is being tracked in Jira label Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Jira This ticket is being tracked in Jira
Projects
None yet
Development

No branches or pull requests

3 participants