astefanutti / kubebox

⎈❏ Terminal and Web console for Kubernetes
http://astefanutti.github.io/kubebox
MIT License
2.14k stars 142 forks source link

Unable to run kubebox on MacOS Big Sur #105

Closed emmekappa closed 3 years ago

emmekappa commented 3 years ago

I'm getting the following error on MacOS Big Sur running kubebox v0.8.0

./kubebox
[1]    9256 killed     ./kubebox
astefanutti commented 3 years ago

It may be the quarantine flag has to be removed from the binary, e.g.:

$ xattr -d com.apple.quarantine kubebox
emmekappa commented 3 years ago

@astefanutti it was my first tought too but... xattr: kubebox: No such xattr: com.apple.quarantine

astefanutti commented 3 years ago

It may be Big Sur sets new constraints on downloaded binaries. I need to research it and eventually test it as soon as I have access to a MacOS Big Sur computer.

astefanutti commented 3 years ago

It may be related to https://github.com/upx/upx/issues/424.

I've prepared a Mac OS binary for the upcoming release and haven't compressed it with UPX. Could you please try and let me know if that works:

kubebox.gz

emmekappa commented 3 years ago

@astefanutti yes! it runs smoothly

astefanutti commented 3 years ago

@emmekappa great! Thanks a lot for the feedback. I'll probably publish the MacOS binary un-compressed for the next release, as it's too much trouble to use UPX for MacOS.

astefanutti commented 3 years ago

I've published the binary in 0.9.0 release. Thanks a lot!