NetBSD Problem Report #60966
From www@netbsd.org Thu Nov 5 16:39:22 2026
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
client-signature RSA-PSS (2048 bits) client-digest SHA256)
(Client CN "mail.netbsd.org", Issuer "YR1" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id F315C1A923B
for <gnats-bugs@gnats.NetBSD.org>; Thu, 5 Nov 2026 16:39:21 +0000 (UTC)
Message-Id: <20261105163920.A8A1D1A923C@mollari.NetBSD.org>
Date: Thu, 5 Nov 2026 16:39:20 +0000 (UTC)
From: oss@gemelen.net
Reply-To: oss@gemelen.net
To: gnats-bugs@NetBSD.org
Subject: devel/forgejo-runner doesn't create required user and group
X-Send-Pr-Version: www-1.0
X-From4GNATS: "oss@gemelen.net via gnats" <gnats-admin@NetBSD.org>
>Number: 60966
>Category: pkg
>Synopsis: devel/forgejo-runner doesn't create required user and group
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Nov 05 16:40:00 +0000 2026
>Closed-Date: Thu Nov 05 20:41:26 +0000 2026
>Last-Modified: Thu Nov 05 20:45:01 +0000 2026
>Originator: gemelen
>Release: trunk
>Organization:
>Environment:
NetBSD berenice 11.0_STABLE NetBSD 11.0_STABLE (GENERIC) #0: Fri Oct 30 19:02:53 UTC 2026 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
Upon installation via binary package or a pkgsrc build of the 'devel/forgejo-runner', it doesn't create the group and user it expected to use.
It is reported during the installation as the package files ownership checks fail.
That prevents to use the package without additional manual steps by user to create the expected user and group.
Fix attached (tested on the same machine).
>How-To-Repeat:
Install 'devel/forgejo-runner' as a binary package via pkgin or from sources via pkgsrc.
>Fix:
$NetBSD$
--- Makefile.orig 2026-11-05 16:35:02.028566004 +0000
+++ Makefile
@@ -28,6 +28,9 @@ OWN_DIRS_PERMS+= ${PKG_SYSCONFDIR} ${FOR
FORGEJO_RUNNER_USER?= runner
FORGEJO_RUNNER_GROUP?= runner
+PKG_GROUPS= ${FORGEJO_RUNNER_GROUP}
+PKG_USERS= ${FORGEJO_RUNNER_USER}:${FORGEJO_RUNNER_GROUP}
+
PKG_GROUPS_VARS+= FORGEJO_RUNNER_GROUP
PKG_USERS_VARS+= FORGEJO_RUNNER_USER
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Thu, 05 Nov 2026 20:41:26 +0000
State-Changed-Why:
Fixed, thanks!
From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/60966 CVS commit: pkgsrc/devel/forgejo-runner
Date: Thu, 5 Nov 2026 20:41:14 +0000
Module Name: pkgsrc
Committed By: wiz
Date: Thu Nov 5 20:41:14 UTC 2026
Modified Files:
pkgsrc/devel/forgejo-runner: Makefile
Log Message:
forgejo-runner: create required user/group
From gemelen in PR 60966
Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/forgejo-runner/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.