vault icon indicating copy to clipboard operation
vault copied to clipboard

Vault 1.16.2 OpenBSD 7.5 incompatibility

Open KzyKor opened this issue 1 year ago • 4 comments
trafficstars

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/

KzyKor avatar May 05 '24 22:05 KzyKor

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.

stevendpclark avatar May 07 '24 20:05 stevendpclark

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

KzyKor avatar Jun 14 '24 18:06 KzyKor

@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.

miagilepner avatar Jul 03 '24 12:07 miagilepner

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

KzyKor avatar Jul 03 '24 17:07 KzyKor