Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Dec 2021 02:46:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 260248] jails: depend parameter does not work in modular jail files (conf.d)
Message-ID:  <bug-260248-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260248

            Bug ID: 260248
           Summary: jails: depend parameter does not work in modular jail
                    files (conf.d)
           Product: Base System
           Version: 13.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: conf
          Assignee: bugs@FreeBSD.org
          Reporter: v_bachvarov@mail.bg

When using multiple modular jail.conf files under /etc/jail.conf.d it is not
possible at the moment to make one jail depend on another. The depend parameter
does not work across the different jail.conf files.

How to reproduce:
- Create two jails in separate files: /etc/jail.conf.d/j1.conf and
/etc/jail.conf.d/j2.conf
- Make one of the jails (j1) depend on the other (j2)
- Call "service jail start j1"

Expected output:
- The jails are started in the correct order: j2, then j1.

Actual output:
- The command fails with the error that jail "j2" is not found.

Workaround: The sysrc variable "jail_list" can be used to define in which order
the jails should be started and stopped. It would be better though to let jail
calculate the order.

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

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260248-227>