[Bug 294978] ports/rundeck: rc.d script passes extra argument 'start' to rundeck.war, breaking startup with 5.20.0

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 03 May 2026 15:47:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294978

            Bug ID: 294978
           Summary: ports/rundeck: rc.d script passes extra argument
                    'start' to rundeck.war, breaking startup with 5.20.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: steffen@fritz.wtf

Created attachment 270381
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=270381&action=edit
Bugfix diff

Since the upgrade from rundeck 5.19.0 to 5.20.0, the rundeck service
fails to start. The rc.d script passes ${rc_arg} (i.e. the string
"start") as a positional argument to the rundeck.war JAR file, which
no longer accepts unknown positional arguments as of 5.20.0.

Symptoms:
  Unmatched argument at index 2: 'start'

The fix is to remove ${rc_arg} from the su invocation in rundeck_start().
The JAR is invoked directly via daemon(8) and does not need nor support
rc(8)-style subcommands.

Tested on: FreeBSD 14.4-RELEASE-p4 amd64

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