-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Signal Desktop fails to start with "Trace/breakpoint trap" or "The SUID sandbox helper ... is not configured correctly" #3536
Comments
Hi, @vtevelde. v1.27.x of Signal upgrades Electron by two major versions. The most recent version of Debian expected to work with the most recent releases of Electron is Debian 8: https://electronjs.org/docs/tutorial/support#linux |
@kenpowers-signal I'm getting the same issue on Debian 10 for 1.27.1-beta.7. Running $ signal-desktop-beta
[22117:0823/150147.047439: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 /opt/Signal Beta/chrome-sandbox is owned by root and has mode 4755.
Trace/breakpoint trap Then I executed $ cd /opt/Signal\ Beta/
$ sudo chown root chrome-sandbox
$ sudo chmod 4755 chrome-sandbox
$ signal-desktop-beta which only gave me the The only way for me to get the beta to run successfully is to do $ signal-desktop-beta --no-sandbox I had no problems running Signal Desktop 1.26.2 |
Looks like we're running into this bug: electron/electron#17972 Seems that the affected linux distro have disabled unprivileged access to |
Thanks @kenpowers-signal . I should have also mentioned that I had exactly the same issue as @inthewaves with chrome-sandbox permissions as well, but fixed it the same way. |
signal was supposed to be starting on login for me so I didn't notice this after a recent upgrade until I went to start it directly. I found lxc handles this by creating |
This affects the stable 1.27.1 release now, which broke on upgrade for me (Debian unstable). Manually setting setuid on |
Same for me with Debian 10 Buster (stable). |
Same for me (Debian testing), this fixed it:
|
I'm also affected by this on Debian 10/buster/stable, I just updated to signal-desktop v1.27.1. There is no way I'd do setuid for an app. |
Everyone - please try out v1.27.2-beta.1, just released. It adds a Beta install instructions are here: https://github.com/signalapp/Signal-Desktop#install-the-beta |
I installed v1.27.2-beta.1, disabled the sysctl mod, and made sure the setuid bit was not set, and verified that it ran with --no-sandbox. Thanks! |
|
I've been using the Signal release from Flathub, and the release version has just started doing this. Flathub apps are frequently advertised as being sandboxed, so I don't see how setting no sandbox would fly with this model. |
@scottnonnenberg-signal Sorry to ask, but do I understand you correctly that the solution you suggest is running signal without sandbox (i.e. adding the My understanding of these things is limited, but it seems like they have a security implication that might be important to discuss. I doubt that unprivileged access to |
Same here with debian 9.11 and signal desktop app 1.27.2. Setting the permissions as mentioned |
fix chrome-sandbox permissions, hotfix for signalapp/Signal-Desktop#3536
I'm calling plain |
@aknrdureegaesr can you use the |
Yes, that works for me as well. |
fix chrome-sandbox permissions, hotfix for signalapp/Signal-Desktop#3536
The error shows up on my box (debian 10) as "trace trap (core dumped)". Almost opened a separate issue, hopefully this helps other find this issue. |
I have the same problem after each update on Gentoo. Doing a manual |
On Debian buster for quite some time now, signal-desktop fails to start after every upgrade. The error message is: [18045:0212/102302.476860: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 /opt/Signal/chrome-sandbox is owned by root and has mode 4755. I have to manually chmod that file and then it works. Why not just set it in the .deb or in the postinst? |
It's not technically hard to fix this during packaging, but I understand the objections to shipping a setuid binary unconditionally. For chromium, Debian solves this by providing a Achieving this is a matter of running I think that would be the best solution for Signal as well, because shipping a package that doesn't start by default is clearly not a great state of affairs. |
This is fixed in v1.32.0 and the issue can be closed, I suppose. |
@lorenzhs What behaviors have you observed, exactly? |
The postinstall script ( |
For a few releases now, this has been broken again: the |
I see that |
Bug Description
After upgrading to the latest signal-desktop-beta, 1.27.1-beta.6, the application fails to start. When running from the command line the only output is "Trace/breakpoint trap". The last couple of pages of output from "strace signal-desktop-beta" is available from https://pastebin.com/ZPTy5QFz
Steps to Reproduce
Actual Result: signal dies with output "Trace/breakpoitn trap"
Expected Result: signal desktop gui opens
Signal Version: 1.27.1-beta.6
Operating System: Debian 5.2.9-2
Linked Device Version: (Not yet linked)
The text was updated successfully, but these errors were encountered: