On Wed, Jan 17, 2024 at 01:11:54PM +0100, Florian Obser wrote:
> On 2024-01-03 17:14 +01, Florian Obser <flor...@openbsd.org> wrote:
> > Hi there,
> >
> > dnscrypt-proxy fails thusly on -current:
> >
> > Jan  3 17:07:29 x395 dnscrypt-proxy[54029]: dnscrypt-proxy 2.1.5
> > Jan  3 17:07:29 x395 dnscrypt-proxy[54029]: Network connectivity detected
> > Jan  3 17:07:29 x395 dnscrypt-proxy[54029]: Dropping privileges
> > Jan  3 17:07:29 x395 dnscrypt-proxy[54029]: Unable to set the close on exec 
> > flag: [function not implemented]

The port uses golang.org/x/sys v0.11.0 whose fnctl() implementation does

valptr, _, errno := Syscall(fcntl64Syscall, uintptr(fd), uintptr(cmd), 
uintptr(arg))

It would need to use at least v0.15.0 to include jrick's

https://go-review.googlesource.com/c/sys/+/538995

which is what DNSCrypt/dnscrypt-proxy's master branch seems to be using.

So someone would need to update the port to use said branch, or build
from source.

Reply via email to