Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Aug 2024 15:15:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 280662] The jail command lacks the ability to dump only some jail configurations
Message-ID:  <bug-280662-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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

            Bug ID: 280662
           Summary: The jail command lacks the ability to dump only some
                    jail configurations
           Product: Base System
           Version: 14.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: crest@rlwinm.de

Created attachment 252563
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=252563&action=edit
Add the ability to filter jail -e <sep> by jail names

The existing jail [-f <conf>] -e <sep> command always dumps all parsed jail
configurations to standard out and there is no better separator than the name=
line to tell where one jail's configuration ends a new configuration begins.
Together with multiline strings in jail.conf this is a problem that can't
easily be scripted around.

The attached patch adds the ability to only show the configuration of a
selected list of jails.

-- 
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-280662-227>