[Bug 297640] www/gitea 1.27.2 complains bash not found on startup

[email protected]
Newsgroups gmane.os.freebsd.devel.ports.bugs
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297640

            Bug ID: 297640
           Summary: www/gitea 1.27.2 complains bash not found on startup
           Product: Ports & Packages
           Version: Latest
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
             Flags: maintainer-feedback?([email protected])
                CC: [email protected]

Upgraded from 1.26.4_2 -> 1.27.2 (locally built packages with pourdriere for
arm64) on FreeBSD 15.1.

When I went to restart, it issued a warning of not finding bash on the path:

[root@thneed]~# service gitea restart
Stopping gitea.
Waiting for PIDS: 68512.
2026/08/18 09:08:08 .../setting/repository.go:326:loadRepositoryFrom() [W]
SCRIPT_TYPE "bash" is not on the current PATH. Are you sure that this is the
correct SCRIPT_TYPE?
[root@thneed]~# which bash
/usr/local/bin/bash


I just happened to have bash installed, but it is not listed as a run-time
dependency in the package:

[root@thneed]~# pkg info -dr gitea
gitea-1.27.2
Depends on     :
        git-2.55.0
        git-lfs-3.6.1_20


The startup script is clearly setting the PATH to include /usr/local/bin, so
I'm at a loss as to why this warning is issued. I see nothing in the gitea
config that would override that, either.

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.