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

Zoom crashing on startup. #32

Closed
uriafranko opened this issue Mar 28, 2022 · 7 comments · Fixed by #33
Closed

Zoom crashing on startup. #32

uriafranko opened this issue Mar 28, 2022 · 7 comments · Fixed by #33

Comments

@uriafranko
Copy link

uriafranko commented Mar 28, 2022

Hey guys,

Tried to run the project on Macbook M1 16GB...

The first time nothing happen the script freeze after the
Failed to connect to session manager: Failed to connect to the session manager: SESSION_MANAGER environment variable not defined error.

I've logged manually to the container and tried to run zoom I received
error while loading shared libraries: libnss3.so
so I've added
RUN apt-get update
RUN apt-get install -y libnss3
to the Dockerfile, it fixed the previous error and it starting printing on loop (5min+)
INFO Zoom not ready yet!

logged to the container again try to run zoom again and received
zoom was exited due to a handled signal: 5
and the zoom client closed.

any ideas?

Edit:
I'm running all the docker commands with --platform linux/amd64 as M1 is ARM based.

@jerguslejko
Copy link

same here. seems like one of the upstream deps has changed. using an older image (ghcr.io/kastldratza/zoomrec@sha256:de1f87fb0b5f18e632c71f348a85d4f3a580e1dee7553fdbab17a885837b5671) with the same source code works

@kastldratza
Copy link
Owner

kastldratza commented Apr 1, 2022

Hi guys,
Thank you very much for reporting and confirming the issue.
I am already working on fixing the problem.

I have added the missing package and am currently still working on the other error. However, this one occurs before zoom was exited due to a handled signal: 5

Current issue:

Failed to move to new namespace: PID namespaces supported, network namespace supported, but failed: errno = operation not permitted

@jerguslejko
Copy link

I think this is caused by the latest release of the zoom client. 5.9.6 -> 5.10.0

@kastldratza
Copy link
Owner

kastldratza commented Apr 1, 2022

Yes, that could be.

But I can't see any changes in the release notes that could be related to that.
https://support.zoom.us/hc/en-us/articles/205759689

Nevertheless, I have found a way to get it running again.
Just run container with --security-opt seccomp:unconfined or --cap-add=SYS_ADMIN or --privileged

@kastldratza
Copy link
Owner

kastldratza commented Apr 1, 2022

The real problem is that Zoom now wants to execute system calls (clone, unshare) in the new version, but these are prevented by the default configuration of seccomp in the container. Therefore Zoom cannot be started anymore.

With the three parameters mentioned above the start works again. Because this allows the execution of the system calls.

kastldratza added a commit that referenced this issue Apr 1, 2022
@kastldratza kastldratza linked a pull request Apr 1, 2022 that will close this issue
@uriafranko
Copy link
Author

Hey @kastldratza ,

Still having the same issue after the fix you've provided...

Any other ideas that I may try?

@kastldratza
Copy link
Owner

Hello @uriafranko, none of the above parameters work?

Maybe you still have the old image locally?
Try docker pull kastldratza/zoomrec:latest to download the latest image and test it again.

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 a pull request may close this issue.

3 participants