[Bug 265881] databases/influxdb: runtime: kevent failed with 78

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 16 Aug 2022 12:10:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265881

            Bug ID: 265881
           Summary: databases/influxdb: runtime: kevent failed with 78
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: driesm@freebsd.org
          Reporter: ohartmann@walstatt.org
          Assignee: driesm@freebsd.org
             Flags: maintainer-feedback?(driesm@freebsd.org)

Trying to run influxdb within a jail results in an immediate crash of go:

[...]
Aug 16 14:00:51 graphite-kip influxd[86507]: runtime: kevent failed with 78
Aug 16 14:00:51 graphite-kip influxd[86507]: fatal error: runtime: kevent
failed
Aug 16 14:00:51 graphite-kip influxd[86507]: 
Aug 16 14:00:51 graphite-kip influxd[86507]: goroutine 1 [running, locked to
thread]:
Aug 16 14:00:51 graphite-kip influxd[86507]: runtime.throw({0x1451584?,
0xc0003debb0?})
Aug 16 14:00:51 graphite-kip influxd[86507]:    runtime/panic.go:1047 +0x5d
fp=0xc0003deb58 sp=0xc0003deb28 pc=0x438dfd
Aug 16 14:00:51 graphite-kip influxd[86507]: runtime.netpollinit()
[...]

The host hosting jails is a recent XigmaNAS 13.1.0.5 (BETA, but base FreeBSD is
13.1-RELEASE), the jail itself is based upon 13.1-RELEASE. I faced the very
same with jail's FreeBSD 12.3 and XigmaNAS 12.3.

The packages installed are taken from either FreeBSD's "latest" repository
(12.3-RELEASE and 13.1-RELEASE) as well as "home brewn" poudriere repository.

Since influxdb does run on a 14-CURRENT machine with traditional "make" made
software packages (without jail), I assume there is an issue with the jail
environment.

-- 
You are receiving this mail because:
You are the assignee for the bug.