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

Fix AppImage issues on linux #1216

Closed

Conversation

ebma
Copy link
Member

@ebma ebma commented Feb 15, 2021

Adds an "afterPack" script for electron-builder that changes the permissions of the chrome-sandbox to 4755 to fix issues on some Linux distributions. This way users should not need to add the --no-sandbox attribute when running the .appimage.

I could not test it properly because I am not using a Debian based distribution.

Closes #1209.

Used only when building for linux
@moranbw
Copy link

moranbw commented Mar 6, 2021

@ebma I tested this fix and I seem to get the following error:

The setuid sandbox is not running as root. Common causes:
  * An unprivileged process using ptrace on it, like a debugger.
  * A parent process set prctl(PR_SET_NO_NEW_PRIVS, ...)
Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Operation not permitted
Trace/breakpoint trap

Do I need to clear any cache or anything like that?

  • Debian 10 w/ MATE desktop

@andywer
Copy link
Contributor

andywer commented Mar 31, 2021

@ebma Can you please respond to @moranbw? Must have slipped through.

@andywer
Copy link
Contributor

andywer commented Mar 31, 2021

Nevermind. Just saw that the discussion was continued in the issue (#1209).

@andywer
Copy link
Contributor

andywer commented Apr 7, 2021

@ebma @moranbw Can we act on this PR or should we close it for now?

@ebma
Copy link
Member Author

ebma commented Apr 7, 2021

I guess we can close it for now. Although it fixes the original error about 'SUID sandbox helper binary was found, but is not configured correctly', it seems that there are more issues as @moranbw mentioned.

@andywer
Copy link
Contributor

andywer commented May 3, 2021

On hold.

@andywer andywer closed this May 3, 2021
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

Successfully merging this pull request may close these issues.

The SUID sandbox helper binary was found, but is not configured correctly
3 participants