hashicorp / vault

A tool for secrets management, encryption as a service, and privileged access management
https://www.vaultproject.io/
Other
30.79k stars 4.17k forks source link

Vault 1.16.2 OpenBSD 7.5 incompatibility #26829

Open KzyKor opened 3 months ago

KzyKor commented 3 months ago

Describe the bug Vault binary downloaded from Hashicorp webpage will not run on OpenBSD 7.5

To Reproduce Download the binary from Hashicorp and run it on OpenBSD 7.5

cerber# ./vault                                                                                                                                                                                                                                               
vault:./vault: undefined symbol 'syscall'
ld.so: vault: lazy binding failed!
Killed

Expected behavior The application should run without errors.

Environment: OpenBSD 7.5

Additional context Most likely caused by: https://lwn.net/Articles/949078/

stevendpclark commented 3 months ago

Hi @KzyKor, thanks for notifying us of the issue. I've reproduced the error you are seeing using our binaries. I'll report back when I have further details.

KzyKor commented 2 months ago

Hello, Is this bug planned to be addressed anytime soon ? It's still affecting version 1.17.0

miagilepner commented 1 month ago

@KzyKor I was able to compile and run Vault on OpenBSD 7.5 using the Go 1.23 RC. Unfortunately, I wasn't able to get it working using the current stable version of Go, even after updating/patching dependencies to use libc syscalls. I think that we'll have to wait to update to Go 1.23 before this can be fixed.

KzyKor commented 1 month ago

I compiled version 1.17.0 using this port. https://github.com/openbsd/ports/tree/master/security/vault