Index | Thread | Search

From:
Nam Nguyen <namn@berkeley.edu>
Subject:
Re: dnscrypt-proxy: Unable to set the close on exec flag: [function not implemented]
To:
Theo Buehler <tb@theobuehler.org>
Cc:
ports@openbsd.org, Florian Obser <florian@openbsd.org>
Date:
Tue, 23 Jan 2024 20:14:08 -0800

Download raw body.

Thread
Theo Buehler writes:

> On Wed, Jan 17, 2024 at 01:11:54PM +0100, Florian Obser wrote:
>> On 2024-01-03 17:14 +01, Florian Obser <florian@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.

Thanks for the report and cluestick. I'll try to update to use that
until upstream cuts a new release. Sorry for the timeout.