pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/60966: devel/forgejo-runner doesn't create required user and group
>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: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Nov 05 16:40:00 +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@localhost:/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
Home |
Main Index |
Thread Index |
Old Index