[Bug 274993] sysutils/bastille: how to stop jails in reverse order

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 09 Nov 2023 16:20:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274993

            Bug ID: 274993
           Summary: sysutils/bastille: how to stop jails in reverse order
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: dsh@bamus.cz
                CC: christer.edwards@gmail.com
             Flags: maintainer-feedback?(christer.edwards@gmail.com)
                CC: christer.edwards@gmail.com

Hi,

does it possible to configure rc.d/bastille.sh to stop jails in reverse order?
If not, it would an usable feature. In may use case a jail with icinga and
grafana should be started after jail with postgersql, and I can get it with

  bastille_list="db icinga"

but icinga should be stopped before postgesql, because it is trying to connect
to postgresql and waiting too long. It would be nice to have a new rc.conf var
like

  bastille_reverse_stop="YES"

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