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

Opens but hangs on M1 Pro MacBook #299

Open
cyclism6486 opened this issue Feb 11, 2022 · 16 comments · May be fixed by #302
Open

Opens but hangs on M1 Pro MacBook #299

cyclism6486 opened this issue Feb 11, 2022 · 16 comments · May be fixed by #302

Comments

@cyclism6486
Copy link

Monterrey 12.1 - Get Info shows app as (Intel), but it doesn't ask to run under Rosetta. Installed Rosetta manually, but no checkbox shows up to run SCAP under Rosetta. When you open the app without Rosetta, the icon shows up in the dock and program name in menu bar, but it just beachballs. Have to finally force quit.

@ghost
Copy link

ghost commented Jun 6, 2022

same here. haven't tried the steps outlined above but I get the same cannot load, using MBP M1 Pro

@beckerj
Copy link

beckerj commented Aug 13, 2022

This is actually not a M1 specific problem, it's the same on an Intel cpu: #289

@ggbecker
Copy link
Member

This is actually not a M1 specific problem, it's the same on an Intel cpu: #289

can you try this new build and see if it works: https://github.com/ggbecker/scap-workbench/actions/runs/2860217174

I have rebuilt the latest version with newer packages.

@ggbecker ggbecker linked a pull request Aug 16, 2022 that will close this issue
@jxadams
Copy link

jxadams commented Oct 13, 2022

Your mac build #302 opened for me.

ETA: However, on first trying to connect from an Apple M1 running Monterey 12.2.1, this error generated:

Can't connect to remote machine! Exception was: There was a problem with SshConnection! Failed to create SSH master socket! Diagnostic info: Starting process '/usr/bin/ssh -M -f -N -o ServerAliveInterval=60 -o ControlPath=/private/var/folders/3q/cqjdwnwn3ls0ttmrdlvlnw0m0000gn/T/scap-workbench-skjyfR/ssh_socket -p 22 user@server' Starting process '/usr/bin/ssh -M -f -N -o ServerAliveInterval=60 -o ControlPath=/private/var/folders/3q/cqjdwnwn3ls0ttmrdlvlnw0m0000gn/T/scap-workbench-skjyfR/ssh_socket -p 22 user@server' stdout: =============================== stderr: =============================== unix_listener: path "/private/var/folders/3q/cqjdwnwn3ls0ttmrdlvlnw0m0000gn/T/scap-workbench-skjyfR/ssh_socket.0bLdwEKBMPHyeQ4d" too long for Unix domain socket

I believe this is something hardcoded in the application's ssh connnection, because I've tried applying the known fix for this on OS X in every way I can, and the error is still generated. I can change ControlPath in ~/.ssh/config, /etc/ssh/ssh_config, and on the command line with -o, and the error is still generated.

This might be the problem. Maybe.

@ggbecker
Copy link
Member

The temporary dir in your case is: /private/var/folders/3q/cqjdwnwn3ls0ttmrdlvlnw0m0000gn/T which is long,

you could override it temporarily with something like:

TMPDIR=/tmp scap-workbench

considering you are able to run scap-workbench from the command line, or something like:

TMPDIR=/tmp
./scap-workbench

@jxadams
Copy link

jxadams commented Oct 14, 2022 via email

@jxadams
Copy link

jxadams commented Oct 14, 2022 via email

@ggbecker
Copy link
Member

maybe @Mab879 could test this part and check for more information.

@jxadams
Copy link

jxadams commented Oct 14, 2022 via email

@tuxtof
Copy link

tuxtof commented Jun 22, 2023

@ggbecker can you rebuild an artefact thanks

@ggbecker
Copy link
Member

@ggbecker can you rebuild an artefact thanks

The new build should appear here: https://github.com/OpenSCAP/scap-workbench/actions/runs/5343838869?pr=302

@tuxtof
Copy link

tuxtof commented Jun 22, 2023

maybe time to make a PR against upstream :-D

@ggbecker
Copy link
Member

maybe time to make a PR against upstream :-D

we have the pull request: #302 but I didn't have time to follow up in some of the remaining issues. Feel free to propose any changes... it looks like Fedora builds need to be fixed as well. And furthermore a release with this change is desired to create permanent artifacts.

@peterlai-roboops
Copy link

Is there any update on this please? As the the bulid artifact from the https://github.com/OpenSCAP/scap-workbench/actions/runs/5343838869?pr=302 is now expired and can't be downloaded anymore.

@ggbecker
Copy link
Member

ggbecker commented Feb 13, 2024

Is there any update on this please? As the the bulid artifact from the https://github.com/OpenSCAP/scap-workbench/actions/runs/5343838869?pr=302 is now expired and can't be downloaded anymore.

I'm building the artifact again and should be downloadable again soon.

Here is the new build: https://github.com/OpenSCAP/scap-workbench/actions/runs/7884922384/artifacts/1241080720

@peterlai-roboops
Copy link

peterlai-roboops commented Feb 13, 2024 via email

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.

6 participants