minio package and ports on HardenedBSD and probably FreeBSD has problems...

1 view
Skip to first unread message

B.C. Cotman

unread,
Sep 16, 2025, 1:58:31 AM (5 days ago) Sep 16
to us...@hardenedbsd.org
Hello,

Some feedback for people maintaining the minio pkg or ports source tree...

The last known "version" of minio which works with HardenedBSD:
RELEASE.2025-03-12T18-04-18Z runs.

The one before it and a few checked every few months worked.

These versions all build but fail to run:
RELEASE.2025-04-03T14-56-28Z failed: panic
RELEASE.2025-04-08T15-41-24Z failed: panic
RELEASE.2025-04-22T22-12-26Z failed: panic
RELEASE.2025-05-24T17-08-30Z failed: panic
RELEASE.2025-06-13T11-33-47Z failed: panic
RELEASE.2025-07-18T21-56-31Z failed: panic
RELEASE.2025-07-23T15-54-02Z failed: panic
RELEASE.2025-09-06T17-38-46Z failed: panic
RELEASE.2025-09-07T16-13-09Z failed: panic

If you have logging enabled, you see a "panic" in the log:

(Example 2 logged lines)

API: SYSTEM Time: HH:MM:SS UTC DD/MM/YYYY Error: descriptor
Desc{fqName: "", help: "", constLabels: {}, variableLabels: {}} is
invalid: process metrics not supported on this platform
(*fmt.wrapError) 8:
internal/logger/logger.go:268:logger.LogIf() 7:
internal/logger/logger.go:446:logger.CriticalIf() 6:
cmd/metrics-v2.go:4386:cmd.metricsNodeHandler() 5:
cmd/metrics-router.go:66:cmd.registerMetricsRouter() 4:
cmd/routers.go:101:cmd.configureServerHandler() 3:
cmd/server-main.go:871:cmd.serverMain.func9() 2:
cmd/server-main.go:563:cmd.bootstrapTrace() 1:
cmd/server-main.go:870:cmd.serverMain()

panic: (struct {}) 0x75516a0 goroutine 1 [running]:
github.com/minio/minio/internal/logger.CriticalIf(...) [the rest of
this logged error removed ]


This appears to be related to a bug report when trying to run under OpenBSD:
https://github.com/minio/minio/issues/21188

HTH
Reply all
Reply to author
Forward
0 new messages