Bug 256871 - [New Port] sysutils/mkjail: Fat jail creation script
Summary: [New Port] sysutils/mkjail: Fat jail creation script
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dan Langille
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-28 12:35 UTC by Robert Clausecker
Modified: 2021-07-12 22:50 UTC (History)
3 users (show)

See Also:


Attachments
sysutils/mkjail: Fat jail creation script (2.43 KB, patch)
2021-06-28 12:35 UTC, Robert Clausecker
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Clausecker 2021-06-28 12:35:11 UTC
Created attachment 226089 [details]
sysutils/mkjail: Fat jail creation script

From https://wiki.freebsd.org/WantedPorts.

Port comprises a bunch of shell scripts.  NO_BUILD, NO_ARCH.
Portlint likes this port, builds fine on arm64 13.0-RELEASE with Poudriere.

***
mkjail can be used on FreeBSD to create new jails, keep them updated,
and upgrade to a new release.

mkjail requires the use of ZFS and will create each new jail in a
separate filesystem.

mkjail is not a jail manager.  Jails are configured via /etc/jail.conf
and started/stopped via service jail start foo.

WWW: https://github.com/mkjail/mkjail
***
Comment 1 Dan Langille freebsd_committer 2021-07-02 18:15:21 UTC
On thing I noticed in testing (not related to this PR): /usr/local/etc/mkjail.conf is ignored. I did not try /usr/local/etc/mkjail/mkjail.conf
Comment 2 Dan Langille freebsd_committer 2021-07-12 22:50:16 UTC
(In reply to Dan Langille from comment #1)

Ahh, my testing was from ~/mkjail

No wonder my test did not succeed.
Comment 3 commit-hook freebsd_committer 2021-07-12 22:50:27 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=175e9e5f8908be2bd87f0edf915029faeb080f79

commit 175e9e5f8908be2bd87f0edf915029faeb080f79
Author:     Dan Langille <dvl@FreeBSD.org>
AuthorDate: 2021-07-12 22:45:44 +0000
Commit:     Dan Langille <dvl@FreeBSD.org>
CommitDate: 2021-07-12 22:49:30 +0000

    sysutils/mkjail: New port: Fat jail creation script

    mkjail can be used on FreeBSD to create new jails, keep them updated,
    and upgrade to a new release.

    mkjail requires the use of ZFS and will create each new jail in a
    separate filesystem.

    mkjail is not a jail manager.  Jails are configured via /etc/jail.conf
    and started/stopped via service jail start foo.

    PR:             256871
    Reported by:    Robert Clausecker <fuz@fuz.su>

 sysutils/Makefile               |  1 +
 sysutils/mkjail/Makefile (new)  | 24 ++++++++++++++++++++++++
 sysutils/mkjail/distinfo (new)  |  3 +++
 sysutils/mkjail/pkg-descr (new) | 10 ++++++++++
 sysutils/mkjail/pkg-plist (new) |  7 +++++++
 5 files changed, 45 insertions(+)
Comment 4 Dan Langille freebsd_committer 2021-07-12 22:50:53 UTC
Thank you.