@skarekrow skarekrow released this Jan 25, 2019 · 29 commits to master since this release

Shortly after the release of 1.0, we have another new release! This fixes some bad nagging bugs that were found since 1.0, and as far as this release goes, we don't have another validated bug in the tracker! Should be the most stable iocage release yet, as we also have even more tests to ensure less breakage. Thanks to all those who filed issues and the contributors that sent in pull requests, you lot are great ;)


  • Can fix corrupt fstabs with fstab -e now
  • Variety of fstab fixes
  • Non-standard RELEASE naming schemes are now supported
  • Fixed upgrade not allowing input or editors
  • Two new flags to clean, --debug(-d) and --images(-i)
  • Bug fixes for IP aliases in shared mode
  • More flexible plugin upgrades in regards to naming of plugin
  • Use jail(8) for networking instead of our own parsing (Fixes many small issues!)
  • allow.vmm property was added
  • Makefile improvements


aa25cd8 Apply some source fstab validation when the fs type is nullfs (#829)
e62503b Allow fixing broken fstabs with edit (#830)
9de27b6 Allow replacing an fstab with a different source and same destination (#827)
a331b51 Uppercase the RELEASE specified during create (#826)
1cc8be6 Migrate ip4 and ip6 from none to disable (#825)
da82221 Fix renaming templates (#824)
036ac7b Allow non-standard -RELEASE naming schemes (#823)
1fc6d24 Fix erroneous template messages on creation failure (#822)
4bb844c Add interactive upgrade variable (#817)
9e67859 Change this to fit the rest (#820)
996e212 Merge pull request #818 from iocage/issues/makefile
16d3825 Improve Makefile
679b567 Add --debug(-d) and --images(-i) flag to clean (#797)
0f7062b Require a mountpoint on parent iocage dataset (#811)
4c7f705 Improve exception handling (#802)
b1c9fd1 Bug fix for ip aliases
df9aad4 Fix for sorting with ip (#803)
48c88dc The dragons have gone back into their caves
fa102a3 Bug fix for jail ips (#804)
1fc1a82 Updated man page with hostid_strict_check option. (#798)
9454400 Honor jail user with exec (#796)
7592abb Add Validation for ip addresses (#792)
97796dd Correct net property ip4/ip6 to valid jail(8) opts (#791)
c7b509b Jail Configuration Class (#782)
f9554ad Throw unjailed exceptions with IOCExec (#789)
0945845 Add More Tests (#759)
e2aab52 BUG: SYSV settings are ignored (#785)
3ef5138 Removing an fstab entry wrote an incorrect file (#788)
4da31dc Add default interface to ip(4|6)_addr if alias doesn't exist (#781)
0c9233f Silence jail during destroy/clean (#780)
c1b0b59 Improve exception handling for listing (#775)
539fab0 Add ignore exceptions flag (#776)
a09c10d Check Release exists (#777)
6c37f65 Check for Faulted Pools (#778)
03206b2 Fix various Tracebacks for non-root users (#774)
f149122 Bump copyrights to 2019
e8f27f6 If a plugin's MANIFEST cannot be found directly, we glob for it (#773)
67d36eb Add allow.vmm jail parameter (#767)
68212cf Catch a missing location, bump netifaces dep
0a87636 Bump to 1.1 PRERELEASE
4b62a06 Leverage jail(8) for shared IP networking behaviour (#770)
a22bb44 Bug fix for Upgrade (#762)
0140855 Change travis over to new flatten modules for before

Assets 2

@skarekrow skarekrow released this Dec 22, 2018 · 75 commits to master since this release

It's official! The iocage rewrite is now at 1.0. Big thanks to all the users who filed issues and contributors that submitted pull requests as well! This was a massive release (yet again) that has over 350 commits. Apparently Holiday releases are a thing, as iocage's last release was a full year ago. Whoops! We'll be more nimble on releases going forwards. Patch notes below!


  • Add DEFAULT support for ip4_addr
  • Property checking when using set/create
  • VNET interfaces are by default epair0b in jails now (works around a Plex bug)
  • Add DHCP information to start process
  • Add support for not supplying interface to VNET during creation
  • Plugin Update/Upgrade support added
  • Can get jails --jid(-j) or --state(-s) now
  • Added vnet_interfaces property, this passes interfaces directly into the jail
  • During execution events we now clean the environment
  • Added IOCAGE_HOSTNAME and IOCAGE_NAME to start environment for exec_* props
  • latest|LATEST support for fetch to always grab the latest RELEASE
  • Fix processing flags with pkg
  • 2x+ improvement to fetch speed
  • --thickjail(-T)s are back!
  • vnet_default_interface property added, this will add the specified interface to an automatic bridge0 for VNET
  • hostid_strict_check property added to make sure jails only run on the host they are meant to (For migrations and such)
  • Add help to all commands instead of just --help
  • Remove chroot
  • Branch support for plugins
  • Added debug command
  • HTTP/HTTPs are now the default fetch protocols.
  • allow_mlock added as a property
  • rtsold/rtsol support for IPv6
  • --keep_jail_on_failure(-k) support for plugins that may experience a failure that requires debugging
  • allow_tun is a custom property that will unhide tun devices in the jail
  • Handle corrupt default configurations now, we use in memory defaults if that is the case
  • Rewrite how devfs_ruleset are generated, fixing lots of bugs with dhcp + other combos
  • Simplify dhcp support to just dhcp=on for all interfaces, or per interface ip4_addr=NIC|DHCP
  • Start jail silently during exec if it's not running
  • allow_mount_fusefs property added, allows mounting and unmounting fusefs filesystems in FreeBSD 12.0 or later
  • Fix hostname generation in rc.conf and /etc/hosts
  • Add thin configuration support! Now jails only have the bare minimum + user properties when created. This allows for easy movement to inherit defaults on different boxes. This is the new default.
  • Added --thickconfig(-C)uration support to create to retain old behavior.
  • Added support for a default rc.conf file in the iocage root that jails will use instead of builtin boilerplate
  • VNET nics are now created with a period in their name on the host
  • Template jails have had a variety of bugs fixed
  • Allow clones and templates to be thickjails
  • Correctly set MTU on all vnet interfaces

...and many others! Full changelog below:


4cf4c63 Fix typo and cleanup exception
0ba86d7 Travis
e25ca80 Allow clones/templates to be created as thickjails
a58389b Fix setting thickjails as a template or cloning them
65bad4a Add More tests (#740)
6110ffe tkt-65421: Fix snapremove (#745)
0face4e Return a more verbose error message on plugin failure (#739)
1a1195a Initial commit fir cirrus-ci
7ce45da tkt-62547: No longer start network services explicitly (#734)
38c9da7 tkt-63801: Check snapshot exists before destroying (#735)
548a786 Fix travis and all flake8 errors (#733)
8a73125 tkt-64899: Rewrite IOCZFS to use subprocess calls (#731)
6522b2f Supply a files list to IOCFetch with create (#732)
3e6c265 Fix mismatching RELEASEs being fetched, and a couple other bugs (#729)
4435732 Properly set mtu on all vnet interfaces (#722)
10d16ef Fix listing non-standard RELEASE naming schemes (#725)
3650e2a Fix creating additional epairs (#721)
95db4e3 Grab doc.txz by default for RELEASEs under 12.0-R (#720)
8aa3f43 tkt-64143: Only capitalize fetch RELEASE if everything is default (#724)
30769f0 Check for exec=on when issuing update/upgrade (#723)
af9e342 Cleanup some fetch code, improve error message
6b26ffe Remove extra space in downloading fetch message
eab18d0 Fix a few more remaining fetch bugs
c4068fd Remove unused missing for fetch
2530fff Don't extract if the user doesn't have a MANIFEST and uses custom server
8b928c9 Fix a few issues in extraction/downloading code
c2a72f3 Remove doc.txz from default files
2f28401 Use periods instead of colons for nic name
3c38801 Don't add all parameters to start
f411c85 Fix 'iocage fetch' sorting (#716)
a830cae Remove unneeded conditional
d83016f Add templates to quick listing
5966920 Do not create default configuration if checking datasets
aeed930 Nicer!
ff7cf76 Bug fix for template jails (#714)
71ab39a Destroy Network related setup on stop (#713)
704b5c2 Add missing pathlib.Path for freebsd_version
964bd34 Fix self.default_config not always existing
75665cb Re-set self.rc on restart
8988de3 Catch version 12 too
5409e34 Catch users using old vnet_default_interface prop value of none
5920c62 Default to auto for vnet_default_interface
bbc971f Fix bad conditional on default rc.conf usage
a926b5b Use default rc.conf file instead of builtin boilerplate
b927b29 Check for malformed fstab lines
b82abea Reads nicer!
16981c8 Raise DHCP error if DHCP not configured (#709)
32926d3 Allow auto to be set for vnet_default_interface
8bc55f2 Remove unneeded code
f54ab49 Properly install requirements.txt
5bfb19f Bump py-libzfs to latest
4cc8ec2 Massive refactor of ioc_fstab
c363f0b Create new exception class for inheritance.
8f49bfc Join multiline error messages with logit
648fe63 Remove unused line
fe289db Bug fix for always creating jails with name and count flags (#708)
d9fa7dd Bug fix for iocage fetch (#706)
531a5cf Address even more @sonicaj concerns
96e008f Remove identical if statement
75878aa Errrrr
31c8e53 Address more @sonicaj review
dbf507c Remove unused self.zfs instance per @sonicaj review
abb7ff6 Add thick configuration for creation of jails and plugins
ef5c493 Remove unneeded comment
5b5d4b9 Break ioc_json into more classes
ecc887f Fixed bug: get non-existing keys from conf (#701)
9c3a530 Move progress out of update_progress for fetch
70b1a4a Unneeded cloned_release property kept around with thick jails
db2c377 Destroy leftover snapshot for thick jail creation
9cf753b Fix pkglist and no IP options fallout with thin configuration
035344e Fix hostname in rc.conf and /etc/hosts generation
b1738d4 Move updating basejails to base module ioc_fetch
84bb1cd Correctly mount basejail and umount basejails during cloning
07a2815 Update now correctly updates the release property with the patch level
28dde0a FIx get -r
c4016ac Show devfs ruleset when starting and return correct one
42400ac Use the first item for dicts sent to get recursive
93ed523 Add basejail header to long list
da4fec1 Allow listing only basejails with -B
e7a945c Fix bad path being sent to upgrade
af3c119 Remove backup tests
fd252a7 Use en_US.UTF-8 or users LANG by default for console/exec
7600461 Need 'type' for plugins
e851782 Fix tests and default configuration loading in ioc_json
82b909b Missed an instance
3b986ef Fix lack of writing json if json_load returned True
db7d6f4 Correct typo
e1fa1be Correctly add bpf to devfs rules, change creation warnings for props
9a78f6e Skip checking configuration if the versions match
903feb6 Remove unnecessary notes variable
356b419 Fallback to using the jails freebsd_version if the RELEASE one fails
8ad2703 Write partial configurations by default
b3da684 Set templates to read/write for json writing and back to readonly
2e919c3 Add enumeration to internal sorting for RELEASEs
08297a4 Make import more robust with handling naming
313a75b Add missing return for setting default prop
76338a3 Use default gateway for mac_prefix or generate one
d6a503a Drop "zero dependency" from description (#686)
54e909e Fixed error message for corrupted default.json (ticket 56364). (#685)
618ecd2 Fix bad indent
8df370e Fixed bug: do not umount path if fstab entry is not found (#684)
3196d84 Allow dots in the name for 'iocage console' (issue 677) (#683)
5ac562b Optionally allow mounting fusefs from within the jail. (#681)
20a2166 Fix quirks with 'iocage help' (#679)
ae5b3f7 Add accept_rtadv and autoconf to jail nic when accept_rtadv is set
7e280c3 Fix debug for corrupt jails
ab5b620 Warn about dhcp/accept_rtadv during create if required props are missing
14abfe6 spotted by @jsegaert
1938c35 Properly set rtsold during creation
3c15843 Include templates in debug
5571a2b Continue on corrupt jail configurations
82294e4 Debugs now correctly start fresh
f033d1c Bump to RC
ee8700d Handle corrupt default configurations
4bfc357 Rewrite this more succinctly courtesy of @danjacques
a769ad7 Always generate a devfs ruleset for a jail
01ea597 There's nothing to see here!
ca361b4 Rewrite how devfs_rulesets are generated
be04e26 Fixed sorting jails at iocage get -r (#675)
a7b2cbb Add dnspython to reqs
5d41714 Raise proper exception for old invalid Mac addresses (#667)
cec5562 fixes confusion with on/off and yes/no (#673)
cd7a162 Quietly start jail if needed when running 'iocage exec' (#672)
25be572 Add TERM to default clean envs
be09bae Made changes to iocage docs. Came from ticket48768. (#663)
ea461c8 adds 'thickjail' to jailtypes.rst (#666)
7e90343 Simplify config upgrades
a6ecf00 Skip RELEASE checking for EMPTY jails
ec2ad76 Delete jails for all exceptions in case of jail failure by default (#664)
d0b358a Catch any exceptions trying to load freebsd-version during check_config
ad68af0 Ignore callback for exceptions
eb8675f Use Exec interface for basejail upgrades
b9868e7 Have Upgrade use Exec interface
2f284c8 Improve DNS exception for Plugins
8f5760f Do not silence plugin property setting
ca556e8 More Exec work
9a69abd We now call the bridge_cmd if the variable is added
60912b7 Don't raise a pkg error if it succeeds after the first install
c46a90b if 'vnet_default_interface' is set to 'none' no host interface will be added to the bridge (#655)
e53b9d9 Add support for placeholders in adminportal (#659)
e5896eb Make Exec a generator
3f0f53b Simplify Exec rework, make CommandFailed return an iterable
11cbf92 Add back the DNS checks from the jail side for plugins
acdfeca Avoid false positive with EOL notice on jail updates
0c92956 iocage console hangs (#653)
e77d606 Fixed building py-libzfs after updating (#651)
7fb5cbe Added package dnspython (#645)
52116ac Large rework to Exec interface
01a4cb0 3.6 -> 3 (#641)
83ee041 And these!
4f279e9 3.6 -> 3
68e40ac Update py-libzfs
ea3ea42 Add failed_dhcp for this error
3f13c16 This commit adds support for a default none value for vnet_default_interface property
8336701 Make default interface for vnet customizable
612caeb Improve validation for VNET MAC Fields
dec6ebb Bug fix for listing jails
ec8c393 Improve support for dots in jailname (#629)
a80a402 We want the jails fstab in debug
65d27aa Decomplicate things and just use pool/iocage as mount
32621b2 Fix Traceback when pkg-static install fails (#627)
1b2f1f4 exec_clean now affects exec as expected.
7b54a55 Catch by @william-gr
705b203 Allow unhiding tun devices with a custom prop "allow_tun"
c5473ff Fixed bug: setting ZFS properties via 'iocage set' raised exception (#624)
18238cf Make default interface for vnet customizable (#623)
781ca7c Fix exec_pre|post stop
f6b9c3b Fixed bug: Jail fails to start when depends jail is already running (#608) (#622)
e31c1b8 Fixed iocage list multiple IP4 addresses (#621)
0aef5eb keep_jail_on_failure should be a flag
9321111 Add rtsold support
df8a175 Yeah, once is enough for the pkg error
5aadc93 Let's add the string version of the exception too
bee2974 Tighten up reusage of code for retry
84e760f It's not even Monday!
d30883c Remove debug, add better messages.
d6576a8 What! No sys.exit.
c0e92ad Retry on pkg and pkg install failures
d587f62 Bug fix for installing packages (#607)
1000163 Do not set allow.mlock when userland < 12.0 (#619)
0b78341 Add "allow_mlock" as a new property (#617)
3c82c82 Fix wrong property in doc
c529278 @william-gr noted we should probably have a couple nice defaults
c6dd02e Be a better env...izen. Less pollution!
8add7b9 Merge pull request #37 from freenas/ticket-47085
b7674c7 Use a specific exception for pool activation issues
1abefcf Fix devfs rules that have a bracket
e965a98 Don't use ifconfig -f inet:cidr to extract IP/Mask... (#515)
72b0f16 Fix branch name for plugin repo (#614)
0374d7e Flag debug as rootcmd (#613)
48d1da8 Test variable before splitting again, honor IP only for plugin install
e3dd2ea Potential Bug fix for jail creation
3a36b86 Improved error handling
65b6b96 Silence!
3819406 Updates to iocage.8: (#612)
9558798 Let's use the right variable
e43301e Remove duplicate variable
88590ff Fixed a bug in fstab
bfe2051 Correctly create aliases for shared IP jails that don't specify iface
9dd0c5e Fix debug not being as useful as it should be for non-running jails
f54c8b0 adds thickjail feature to man (#604)
bfd56ae Initialize reference to repo after succesful porcelain.pull() (#606)
624de0d Merge pull request #17 from freenas/ticket-41694
56ab46f fixes BUG, return was one level high (#603)
85dbb8d Fix usage of git@ repos
8d2cd72 Update py-libzfs
c5dd9c6 Only show one interface for the plugin IP
8cfe862 Fix a couple issues with devfs generation
b017e5b Change devfs rule generation
c0c28a2 Read output one more time after is finished (#601)
83b1769 Fix callback usage in lib/iocage
62c48b5 Prevent CPU from spinning on plugin tasks
99ba2a5 Make some plugin exec changes to hopefully address FreeNAS #42018
78245a3 Fix Makefile names
637b993 Be less nice for plugin pkg's clogging up stdout
399a9fa We want file, not http when specified
8d66f4d Creating duplicate plugins now name them plugin_NUM
462fbec Add a debug command
1f97a09 Fix a couple typos
0c44acf Bump copyright year (better late then never?)
b575eaa Refactor callback method,
c15be3d Flatten Python module names (#592)
624e913 Check DNS for plugins
def88a2 Remove exit_on_error
62f33b0 Always Force unmount Datasets when renaming (#590)
b814bb8 Check release upon create (#589)
7477b50 Strip subnet of IP4_ADDR when building plugin's portal URL (#586)
140e17e Trrrrravis
0365d91 Check host release for plugins
c640433 Travis
414a61a Use branches with plugins
fbab332 Use branches with plugins
3c5615f DNS/SRV/Host fixes
9aadffa We want unix acl's on iocage's datasets
585d7a8 Travis
cd7e099 Fix: Check for host release being less than during interactive fetch
dc77f54 Fix sorting issues (#582)
cba10a7 Fix typo: 'matiching' should be 'matching' (#576)
117d31d Travis
7425621 Don't rely on porcelain for cloning repo
68539e7 Fix validation of 'set template' (#574)
71dff6e Fix bad destroy target for export
af413b7 Fix repo message
1fe388f Rename templates (#570)
cf4c0da Fix issue with iocage list when showing short uuids (#572)
66e75ba subprocess.check_call() raises CalledProcessError if the returncode is not equal to zero. The CalledProcessError object then has the return code in the returncode attribute. (#571)
2dc9e5d use absolute paths to omit chdir in ioc_start (#568)
387983f Allow 'iocage CMD help' as well
962ec2c Proper error reporting when ran on datasets with exec=off (#566)
ec15598 Do not allow setting DHCP while a jail is running.
2af32de Jail needs to stop before changing jail_zfs* properties (#562)
854672f Recompress iocage.8 (#564)
ee27664 Ignore exception when trying to unmount datasets that do not exist (#561)
a994c8f Added forced stop (#553)
de4ce34 Fixed Cython package name (#551)
a45ef09 Improve exception handling when renaming jails (#550)
2593d90 Add documentation for the depends property: (#549)
8c891fa Make renaming jails more robust (#547)
e4112c7 Removed chroot usage (#545)
8224755 execute pip via python3.6 -m pip in Makefile (#543)
fbf861b Chroot command removed (#542)
b6109c2 Bump versioning
63b7976 add "hosid_strickt_check" as a new value (#538)
2980c9d Iocage doc update (#522)
45ee8e1 Link to the project webside (#537)
a697526 prevents iocage from adding hostinterface to bridge (#530)
7a6c0f0 Move up check for empty jail to fix issue 512 (#531)
1d23d7f adds thickjail-feature, thick jails are copies of the release, not cl… (#516)
9c4dd9a Fix for defect 526 & typo (#527)
1908813 Travis
9f33af4 Give a nicer error for SRV and DNSSEC
1c7eccc Allow listing only official plugins and fetching only official plugins
ccaeec8 Show official plugins as official
095081a Massively improve fetch speed and display
811e42e Handle no IOCAGE_SKIP environment more gracefully
0271b76 Add vnet_interfaces to creation config
40d8e43 Fix clean with releases
4b01745 Don't process flags with iocage pkg (#509)
30a7ffa Fix for issue 507 (#508)
b4bce09 Remove DS_Store files (#504)
a3e3c28 Iocage doc update (#501)
599c2ea Properly remove interfaces from host when dhcp jail is stopped
f44a681 Correctly remove all dangling mounts and jids for clean
f8506e3 Fix bad split giving an incorrect jail name for later
dc080b2 Travis!
465263f Iocage doc updates (#500)
7cd60d7 Allow create to use -r latest
d1ec2b7 Added section on setting iocage environment variables (#497)
f036959 Iocage man page updated. (#496)
12a56ad Travis.
f5c101e Allow latest|LATEST for -r in fetch
4718685 Add a couple variables to started environment for scripting
d0abb29 Add "vnet_interfaces" as a new property
b17c5eb Issue 476 (#493)
fc7995c We now add "b" to renamed interfaces
afbe70c Added chapter about fetching/managing plugins. (#492)
fbbdd73 Updated iocage docs: Added install chapter, organized, fixed. (#490)
c9e7d9d Please travis overlord
cca4378 Allow passing "-s" or "-j" to get
c86d378 Do not falsely report zfs exceptions when creating template (#485)
643a9b7 Create current docs about ezjail migration (#489)
757cefb Deleted one of the 'bridge1'. 'bridge1' was optional;caused confusion. Issue #404 (#488)
dff205d Elaborated on the network adapter 'warning' message. Issue #404 (#487)
65a6bc5 Fix .Xr tag (#484)
1aac02f Updated the 'updating/upgrading jail' section. (#486)
a948e03 Don't fatally exit if the dataset exists during fetch
5155411 Better duplicate check for mountpoints
2c32c7f Tell the user the configuration cannot be loaded
5a3a2c1 Add plugin update/upgrade
d93a100 Add support for no interface to list
959ec20 Allow not specifying interface for vnet
baebfbf Minor change
6556e18 Add DHCP information to start
27a08d4 Actually set the new jail's DEFAULT interface
16e9cca We now rename jail vnet interfaces
52f8674 Revert "We now no longer rename interfaces in the jail"
60ca64a Add "DEFAULT" support for ip4_addr
a941b75 We now no longer rename interfaces in the jail
b9ba150 Add jails name to /etc/hosts
54cb608 Fix destroy when origin is empty
e867005 Return a property for plugins again
0ca60d4 Install ca_root_nss package if the user has a secure packagesite
75d6d9a Fix listing remote and remote plugins
a698111 Fix setting vnet while a jail is running
1251078 Log a message instead of an exception for FreeNAS rc with no active pool
a40c067 Sanitize IP addresses on set
d0b8858 Update rc.d script
68fd4da Constantly prompt for fetch dialog until EXIT, exit, q or Q
8efc8f9 Don't assume the sys.prefix is /usr/local (#455)
16bca53 Fix snaplist for non-long operations
17ba05e Fix clone destruction not destroying the snapshots
4371184 Fix unique mac generation for clone
67199cd Start 1.0 ALPHA

Assets 2

@skarekrow skarekrow released this Dec 23, 2017 · 439 commits to master since this release


1303924 Fix wrong order of zfs mounts for start
0a3cb47 Fix FreeNAS API missing env
bf96ae3 Parse CLI for set correctly
b3441cc Update py-libzfs to unbreak HardenedBSD
3f36a58 Be less strict
43b2a8e Allow clonejails for update
ab06153 Show snapshot name in creation
b6905b2 Add IOCAGE_SKIP environment variable
53e3fcc Allow silence via API for fetch
ab4db73 Correctly identiy a missing configuration
5c7f7d2 Fix short UUID legacy migration
a89059f Replace stale entries in legacy migrated jails
9ad2de9 Fix jail_zfs_dataset not being renamed during legacy migration
8a2cdd3 Update gitignore
4292b3c Provide correct error message when jail exists for template creation
cd3aa82 Add missing develop jail type check
537baf9 Merge remote-tracking branch 'origin/master'
25354e0 Check if RELEASE is parseable and exists before fetching
88f63d2 Update advanced-use.rst (#445)
534ccd3 Add fstab R | --replace to the manual page (#446)
5d6e4b9 Drop pygit2 dependency
c53c820 Allow replacing by index with fstab
a4cf741 Let's not exit.
166775b Skip checking datasets for rc.
0d3949a Move logging to main
a90d03e Update py-libzfs
e186781 Misc improvements for building from git (#436)
7783dd6 Fix listing admin portal if DHCP jail isn't running
610f849 Fix list --long when a plugin exists
d8aa944 (origin/rework-lib) Create plugins with lowercase name
754121f Show admin portal in local plugin listing
4cfd7b7 Fix bad test if user supplies None
da04fcc Append icon_path in the returned list
0cdc3a0 Add basejail support to upgrade Closes #50
08c0ca9 Fix snaplist --long
9c2531f Don't cast to float if an empty jail
3274e18 Remove dependency on tqdm
b8c9013 Yeah...or we can just cast them instead.
3f2e77b Use math module for floating comparison
7ac1e8f Port upgrade to API
8a48cab Review and update iocage.8, iocage.8.gz: (#403)
d015c69 Fix plugin listing
57e7b54 Remove a couple more bare except clauses
557ffa8 Please travis overlord
1bd3dbd Remove ftp from fetch
9c217ff Add listing to fetch API
2562ce2 Fix upgrade using a bad value
a77bc7e Bump to 0.9.10 RC
cbddbae Small optimization
cda617a Fix breakage for upgrade from upstream change Also added silent and callback support for upgrade, in addition we now change the configuration file to not update kernels, as those aren't possible in a jail.
53830ac Let's use the local freebsd-update if self.verify is False Another stab at #88
6067769 Missed a spot with self.verify in fetch Closes #88
5e89fdc Move update to API, add updating support for basejails
86b184a chore: Add neovim to gitignore
9eab753 Return a list for remote releases
52aa76d Merge branch 'master' of github.com:iocage/iocage
fce5265 Return after remote listing
e36124d Merge pull request #395 from wxcafe/master
3a3f3d0 Adds [-c | --count] flag documentation to clone subcommand
e61a4ed adds zsh completion to iocage (#394)
fb7c7c9 duplicate [-f | --force] option in create (#391)
87e1889 Add state to get all
c36f0c8 Remove unused argument for df
aa1f411 Improve message to user if no RELEASEs are found during fetch
3b53659 Make export more robust
46275d7 Fix local fetching
a15d4cd Bump to 0.9.10 ALPHA
fb641a2 Update requirements-dev.txt
591a228 Update requirements.txt
ccb8ee6 Create requirements-dev.txt
7cb5d88 Remove libzfs from requirements.txt
044ff3a Add cython to requirements.txt
b66e767 Merge pull request #372 from iocage/iocage_ports
b1164cc I have renamed sysutils/py3-iocage to sysutils/iocage on FreeBSD.

Assets 2

@skarekrow skarekrow released this Sep 30, 2017 · 514 commits to master since this release

Big Changes

  • Name migration is more robust
  • New rename subcommand - iocage rename foo bar
  • Use pkg from the host instead of the jails (one less pkg)
  • Fix updating jails
  • Add release checks for commands that should worry
  • DHCP support
  • Fix upgrading jails
  • Add —recursive to destroy
  • Add sorting to snaplist (Sorts by CREATED by default)
  • Fix children detection for templates in destroy
  • Show VNET information for start and stop
  • Disable Colors by default (can be enabled by setting the environment variable IOCAGE_COLOR to TRUE)
  • Allow “.” in jail names
  • Shows full jail name if not a UUID in list, no matter the mode.

Full changelog

Fix if jail has snapshots for name migration, also cleanup our snapshots.
Make name migration more robust.
better error message
Reword migrate to make usecase more specific
Check for KeyError on exception with fetch
Fix whitespace, courtesy of @rterbush
Fixed attribute error when no release is specified on the CLI
Fix syntax error in Makefile
Fix start release check
Fix raising exceptions if fileno() didn't exist
Fix upgrade release check
Fix fetch release check
Merge pull request #364 from MvBCoding/issue_363-fdescfs-fixes
Fix instructions on how to setup fdescfs in fstab and how to mount it manually.
Check if this is a git repo before doing this.
Add requirements.txt
Add "return_msg" to exec API
Reverting 700 perms...again.
Add documentation for new rename subcommand: (#358)
Refactor import
run markdownlint-cli on *.md (#355)
Fix spelling error
Remove debug
Create jails with 700 perms
Add argument limit to rename, please travis overlords.
We also want children to have jailed off for rename
Sync py-libzfs
Add rename subcommand
Remove unused import
Speed up update
Change pkg to call pkg from the host
Fix update not using the correct RELEASE
Fix release check with update and upgrade
Revert create jails with 700 perms
Remove existing localtime if host_time is yes
Create jails with 700 perms. In addition, we set it each start
Customize the start message
Refuse to start if the host's release is not greater than target
Refuse to fetch if the host's release is not greater than target
Refuse to upgrade if the host's release is not greater than target
Fix fallout from stderr changes in destroy
Remove unused variable
"cloned_release" is not applicable to most legacy jail types
Allow DHCP for fetching plugins.
The plugin authors want freedom, they get it!
Call sh with "-e" for plugins. Catch the error.
Return boolean for error code in "ioc_exec"
Remove obsolete tag instance from debian.rst, update html build files: - Review all .rst source files for obsolete instances of tag. - Replace tag use in debian.rst. - Other found instances are in sections explicitly marked as LEGACY iocage and are accurate to those sections. - Rebuild html files and update. - Build testing: no errors or warnings.
Replace outdated tag= element from README.md: Replaced with -n flag.
Update iocage.8: - Add option -s to snaplist, as per da0f08a . - Add option -R to destroy, as per 7c6dd26 . - Update document date. - Update snaplist syntax a bit. - Add Stefan Gronke to AUTHORS. - Build test: appears solid. - Update .gz file. - Review man page for obsolete tag, tag=, no instances found.
Use the jails "freebsd-version" for upgrade
Unjail jailed dataset before converting to template
We are already running, unneeded now
Allow DHCP and pkglist
Restore missing **kwargs for fetch
Fix build, forgotten apostrophe and comma in the latest commit.
We should make this more project oriented instead of personal.
Only specify ip[46].addr on jail command line if set (#336)
Pet flake
Add --recursive flag to destroy
Fold snapshot into API
Add sorting to snaplist
Sort snaplist by CREATED
Templates are now readonly
Fix bad syntax
Use nicer error messages in "ioc_fetch" for users
Fix child detection for templates during destroy
exit instead of return for partial prompt in destroy
Merge remote-tracking branch 'origin/master'
Show VNET configuration and teardown during start and stop
Allow destroying jails with legacy mounted root/root path (#330)
Pet flake
Log to stderr if calling from the CLI.
Add cffi to pin list, pin others
Bump to 0.25.1 and use less than
Remove unneeded message now
Fix update using cloned_release instead of release
Check if root before grabbing DHCP address
Add tips about color mode to manpage and .rst docs: - Add admonition box about toggling colors to basic-use.rst. - Add entry to HINTS section of manpage to show how to toggle colors. - Build test: no errors. - Update compressed manpage.
By default disable colors.
Fix build in CURRENT by chasing libzfs
Revert the simpler version commit, it breaks short flags.
Pet flake again
Fix host_user and jail_user both being set for exec
Don't allow boot to start empty or templates
Show IP information for DHCP jails in list
Respect users devfs_ruleset for DHCP if they specify besides 4.
Merge remote-tracking branch 'origin/master'
Replace fstab entries for basejails going from TAG to NAME
Fix stopping jails before TAG migration to NAME
Update manpage and html build files: (#320)
Pet flake
Only add default interface if dhcp == "on"
Forgot to set the configuration for dhcp migration
Add DHCP support
Bail out faster from ioc-start
Add todo for get
API: Have get return a dict for jails and their properties.
Silence plugins returning properties.
Forgot these for jails with "."
Be a little less excited to throw the running exception for migration
Replace "." in a jails name when starting, and accessing anything by jls
Fix "quassel-core" not being fetchable with plugins.
Allow "." in create name for jails
Show the full jail name if it's not a UUID named jail
Fix bad usage for tqdm

Assets 2

@skarekrow skarekrow released this Aug 1, 2017


  • Fix jail migration from TAGs to NAME if you have children datasets under /data and prevent continuing if the jail is running.
Assets 2

@skarekrow skarekrow released this Jul 29, 2017 · 637 commits to master since this release

Big features

  • No more TAGs, you now use --name
  • Add depends property. This allows you to require another jail to start before this one, or multiple. It’s space delimited. This also nests, so if those jails have depends, they will be started as well. Example: iocage set depends=“foo bar” baz
  • Add batch cloning to clone EXAMPLE: iocage clone JAIL -c 10 tag=“foo” PROP PROP PROP
  • Add default property support to get
  • Add a --quick | -q option to list
  • Add -l|--list flag to fstab
  • Add automatic bridge creation for vnet during start.

Plus a ton of fixes! Full commit log below

Fix `destroy`ing jails that are missing configurations.
Use logging module for this message.
Fold `destroy` into API
Rewrite `df` to use libzfs, fold into API
fix rstrip removing chars from command names
skip duplicate listing of jails when using list command
get jail origin from libzfs when listing all jails
remove unused jail_root and ()
Pet flake8.
Speed up `create` by an order of magnitude.
Speed up `destroy` as well
Annnnnd speed up `clean`
Make flake8 script more useful. We don’t want the next commit to be OK because it has the same number of errors as the previous. It’s still a regression.
Make flake8 script less verbose.
That didn’t work as intended. It still went to head, this should work.
Make git fetch quiet in flake8.
Be more strict, we should be at 0.
Oh shell….my old friend. I did not miss you.
Make this a variable, as I’ll eventually be reusing it soon.
Ok, back to 0.9.9-ALHPA
A simpler `version` call.
We are always called “iocage”.
We just want newer then this. Closes #156
Use users `enforce_statfs` setting if `jail_dataset` is on.
Move this little guy
Allow user configurable defaults. The file lives in the root of the iocage dataset as `defaults.json`. It will be recreated with sane defaults if it does not exist. If you wish to change a default property, issue `iocage set prop=value default`
Whoops! Fix `create` with count.
Good old flake!
Add `depends` property. This allows you to require another jail to start before this one, or multiple. It’s space delimited. This also nests, so if those jails have depends, they will be started as well. Example: iocage set depends=“foo bar” baz
Check for root before we update the plugin index, as user may be running list. Reported by: Ken Moore
Change `list —plugins` behavior Previously it listed the entries from the JSON file that, it now shows you what plugin jails you have installed. The previous behavior can be achieved with `list —plugins —remote` Reported by: Ken Moore
Add libgit2 to Makefile.
What was I thinking…
Preserve `rc.conf` with clones and templates. Idea suggested by @kitten77 (Thanks!) Closes #159
SYNTAX CHANGE: Allow specifying `—name` for `—plugins` and `—plugin-file`. Both mechanisms are largely the same, except the former relies on the —name to exist in the INDEX, the latter is used for developers testing their plugins and aren’t confident in putting them in the INDEX, or don’t want them to live there at all. In the case of `—plugin-file`, you can either supply a full path or just the name of the plugin like `btsync` and it will autocompute the rest of the path to that JSON file, and add the file extension as well. EXAMPLE: `iocage fetch --plugins --name btsync ip4_addr=“IF|IP”` or `iocage fetch —plugin-file --name btsync ip4_addr=“IF|IP”` or `iocage fetch —plugin-file --name /iocage/.plugin_index/btsync.json ip4_addr=“IF|IP”` Closes #158
Clarify `fetch`’s information a bit more.
Remove unneeded import from `fetch`
Don’t silence `EXCEPTION` log type.
Remove unneeded extra line
Make killing a jail during creation more robust. Including making sure `destroy` and `clean` can handle the fallout.
Errrr why did I do this.
Show a table for listing remote plugins, unless not using a header is specified. Respects long for header only
Fold `export` into API
Fold `import` into API
Fold `fstab` into API
Should probably add copyright to all these files as well.
Fix flake8 stuff, why these had extra whitespace and all the others didn’t we may never know.
Fold `fetch` into the API
Add `verboselogs` dependency We’re using this for another set of colors for now, but can extend it in the future if we ever do add a verbose flag.
Add an actual fdescfs message thanks to testing @kevinmeziere’s machine at BSDCan. He was having upwards of 20 seconds for any operation, and this was the source of the frustration. I have a blurb on the README, but I think iocage should be in your face and annoying until you do this. Saves many headaches.
Missing comma
Die appropriately if a pipe is cutoff from us. Closes #172
Fix duplicate RELEASEs causing fun in `iocage fetch -h` Closes #167
Properly destroy a jail if the property is invalid. Closes #170
Catch an exception while destroying a downloaded RELEASE. Closes #169
If the exec_* on `stop` is multiple commands, the previous method wouldn’t find a real program. This is still a bit optimistic, as it assumes the commands given are executable. This could be added if it becomes a problem later, but for now it will simply be naive. Closes #176
Forgot this comment
Set a default root_dir for http fetches, assumes standard layout of "ftp/releases/ARCH” Closes #166
We will now add MANFIEST to the missing list if it’s indeed missing. Closes #168
Fix setting `template=no` Closes #179
Speed up batch creation of jails `iocage create -c INTEGER` and simplify.
Add batch cloning to `clone` EXAMPLE: `iocage clone JAIL -c 10 tag=“foo” PROP PROP PROP
Simplify these exceptions
Remove accidental debug
Fold `get` into API
Elaborate more on this WARNING.
Use API for `pkg`
Fold `restart` into API
I sprechen English.
Add LICENSE support to plugins
Add comment to soft_restart method in API
Convert `rollback` into using libzfs, and fold into API.
Use FreeNAS for upstream
- Python3.6 now is the default Python3 version in portstree.
Remove base directories inside the created basejail during creation.
Typo :)
Allow setting `template=yes` during `create`. Closes #187
Be more specific with setting (template) for name
Allow setting template during creation if a duplicate tag was detected
Show "-" if IP6 addr is "none" in `list`
Wrong check for jail's origin template
Show a nicer template in list
Check for UUIDs before creation from jail templates.
Warn users who try to add an fstab entry that's too long
Allow setting a manual name instead of the UUID for a dataset
We will try the name for plugins if pkg doesn't exist.
allow starting multiple network interfaces (#197)
Alter domainname to host_domainname (#171) (#196)
Show `exec` output in real time
Do another more exact match if duplicate jails are found
- From now on iocage can be installed via pkg(8).
- Note that iocage pre-built package is available for FreeBSD 10 or above.
Restore missing `--name` behavior for `--plugins`
Fix trying to get a license if the plugin didn't have one.
Allow silencing `exec` output
Silence `exec` output during plugin creation
use hashlib.md5() to generate mac addresses
Use logging for this exception
Fold `set` into API
add auto-confirm option for `create` subcommand (#203)
Fix up last PR
Convert `snaplist` to libzfs, add "--long" flag and fold into API.
Remove unneeded import from `snaplist`
remove 0x prefix from second mac address
Fix mac_b address construction
Restore behavior of settable mac_prefix
Stop adding _1 to `clone`s when there shouldn't be one.
Fix test for `host_time` and if the file doesn't exist, just return.
Create missing `defaults.json` during `set` invocation as well.
Fix missing attribute in error with missing jail during cloning.
Clarify stance on cloning templates, convert some errors to nicer logs.
Allow specifying `uuid` and `name` for `clone`.
Add help text for option [--force, -f]. (#219)
Don't allow `activate` on a UNAVAIL pool.
Don't set "no" on UNAVAIL pools during `activate` loop.
This should be exiting on 1
Don't clone the UUID as the TAG if it was a "name" created jail.
Improve finding the UUID for TAGs
Throw a helpful error currently until we rewrite this bit.
Restore `get -p`
Check to see if a jail is actually supplied to `get`.
Add default property support to `get`
Check for invalid characters in name during `create`
Check if the jail is running during `rollback`
Add help text to create.py
Add missing help text to destroy options: (#227)
Add in missing help text and skarekrow's fixes:
Try to mount jail datasets if unmounted
Correct `create` help text.
Convert this to an exception
Try to match templates by tag as well.
Convert these to exceptions
Be a bit less greedy in the template check, give proper exception too
Properly fill in text for `fetch` on FreeNAS and HardenedBSD
Add a `--quick | -q` option to `list`
differentiate between IPv4 and IPv6 configurations (#233)
Pet flake.
Add exception for missing file with quick `list`.
Improve these messages formatting.
Improve `fetch` message
Revert this as it complicates catching it.
Make the `exit` in "ioc_common" contain something useful
Allow skipping `stop` in "destroy_parse_datasets"
Speed up `df`
API CHANGE: Fold `destroy` into API
Fix two Sphinx build errors:
Fix Sphinx build error: (#241)
Comment out _static line to fix build error. (#240)
Add requested change:
Add missing --count help text (#243)
Review index.rst (#248)
enable/disable rtsold when setting ip6_addr (#237)
We don't want to iterate on every dataset more then once
Rewrite networking.rst: (#249)
Fix bad invocation
Remove TAG from `ioc_stop`
Remove TAG from `ioc_start`
Remove TAG from `ioc_list`
Remove TAG from `ioc_json`
Fix `import` and `export`
Remove TAG from `ioc_fstab`
Fix plugin stuff and remove TAG from `ioc_fetch`
Remove TAG from `ioc_exec`
Remove TAG from `ioc_destroy`
Remove TAG from `ioc_create` and simplify a bunch of things
New sort method for `name` instead of `uuid` or `tag`.
Remove TAG from `upgrade`
Remove TAG from `update`
Remove TAG from `snapshot`
Remove TAG from `snapremove`
Skip jails for `set`
Fix `migrate`, remove TAG support and add migration for that
Change sort to `name` for `list`
Skip jail list for `get` remove TAG support
Remove TAG from `df`, skip jails
Fixed `create` exception, remove TAG, update doc
Remove TAG from `clone`
Skip jails for `chroot`
Fix `create` test
Fix `start` test
Fix `stop` test
Fix `set` test
Fix `get` test
Fix `list` test
***** Removed TAGs from iocage *****
Please the travis overlord.
Fix `clone`
Remove debug and don't die if the "data" dataset doesn't exist.
Fix `get` all with default jails
Fix `get` pool
Allow removing colors from iocage
Add `-l|--list` flag to `fstab`
Rewrite basic-use.rst: (#247)
Alter docs style a little: (#266)
Rework faq.rst (#258)
Rewrite known-issues.rst (#257)
Rewrite debian.rst (#256)
Rewrite templates.rst (#254)
Update best-practices.rst (#253)
Rewrite jailtypes.rst (#252)
Review advanced-use.rst (#242)
Create sha256 checksums for exported zips.
Convert raising exceptions for "ioc_image" to logging method
Catch an exception if the property does not have an "=" to split with.
Fix `get -r`
Allow multiple properties to be set at once for a jail.
Don't move forward in `upgrade` if the RELEASE is the same as the jails
Convert these to exceptions
Fix a typo preventing `rc` for `stop`
Add starting message to `rc` for `start`
Remove old TAGs from message
Initial review of iocage.8 (#195)
Remove jailpackage from index (#269)
Delete jail-package.rst (#270)
Improve sorting behavior for NAME
Give scarier warnings for destroying jails and RELEASEs.
Update version in docs
Update doc in README
Update index.rst
Add test for partial matches with `destroy`
 Fix traceback for iocage update
Fix bad path for `destroy` child test.
Only extract during local `fetch` if it's not MANIFEST
Check if release is None for local `fetch`
Exit on 1 for these errors.
Add empty list for `destroy`
Allow hyphens in jail names
Fix `df`
Exit on 1 when template doesn't exist during `create`
Adjust agogo theme slightly: (#280)
Check if the files are relative before `fetch` extraction
Remove duplicate IP check on jail start
Allow setting ip(4|6)_addr without an interface name (#287)
Fix setting template during `create`.
ensure templates have correct type on creation (#291)
fix name validation: names should be > 0 char (#292)
Issue #50 - Add basejail update warning:
Bail out in checking JSON if `release` key is missing
Fix indentation error in `upgrade`
Fix `fetch` displaying RELEASEs
Fix typo in message.
Fix setting template configuration type with `pkglist` during `create`
Remove unused variables.
Add automatic bridge creation for vnet during `start`.
Bump to 0.9.9 RELEASE
Assets 2

@skarekrow skarekrow released this May 24, 2017 · 917 commits to master since this release


  • Use a default value for mac_prefix if the key doesn't exist.
  • Don't raise an exception if the jailed dataset doesn't exist for 1.7.4 legacy jails
  • Fix some types in migrate
  • Fix missing overlay for plugins being fatal
  • Show correct error on pkg install for plugins
Assets 2

@skarekrow skarekrow released this May 18, 2017 · 929 commits to master since this release


  • Fix listing HTTP releases.
  • Allow disabling EOL check for fetch
  • fstab now mounts and umounts when called if the jail is running.
  • Allow the user to edit the fstab manually with iocage fstab -e JAIL
  • Add chroot command.
  • Add comment property back in.
  • Make non-valid properties fatal during create.
  • Add --uuid option to create
  • Avoid using console_scripts (faster iocage initialization)
  • Set the default UTF-8 locale for the user if they don't specify one.
  • Make heuristic for finding bridge mtu a little more robust
    Example: iocage fetch -r 11.0-RELEASE -F base.txz -F doc.txz
  • API CHANGE: Allow specifying files to fetch instead of the default hardcoded list.
  • Don't enforce default limits on resources
  • Conversion started to libzfs (speed improvements all around)
  • Allow a user to destroy a jail when no configuration exists.
  • Check for suffix on setting a quota, and bail on no configuration file.
  • If boot is specified during create, start the jail.
  • Add new color logging module (Color for terminal, none for logs.)
    Example: iocage destroy -r 11.0-RELEASE
  • Allow destroying RELEASE.
    The new behavior will just deactivate any pool that you did not specify. This mimcs what the force flag did, but having to supply a flag for the desired behavior was annoying. This fixes that.
  • Simplify activate and remove redundant deactivate.
    Fixes FreeNAS compatibility.
  • updateno longer uses a staticfreebsd-update` binary.
    Fixes FreeNAS compatibility.
  • upgradeno longer uses a staticfreebsd-update` binary.
  • Create a general purpose API module for iocage
  • Fix duplicate jail entries being returned, run pep8 and break out some functions.
  • Fix rc for start and stop.
  • Fix activate logging.
  • Fix showing an error message on start or stop if no jail is supplied.
  • Add set_fib support.
  • Fix activate if property doesn't exist.
  • Check for ZFS before initializing anything. (Thanks @jhixson74!)
  • Blacklist "freenas-boot" from automatic zpool activation.
  • Fix automatic RELEASE fetching for HardenedBSD.
  • Add date to iocage logfile, also print INFO logs to stdout, others to stderr.
    This will allow you to change the location of the iocage logfile, instead of the default /var/log/iocage.log
  • Allow setting an environment variable IOCAGE_LOGFILE.
    This should make connection errors more obvious.
  • Add .connect() to ftp fetching(Thanks @william-gr!)
  • Fix templates with df.
  • Fix non-existant freebsd-version when creating off a template.
  • Add IP6 to list -l
    Example: iocage list -s "uuid" or iocage list -s "uuid" -lh
  • Add sorting to list.
  • Allow non-interactive tty for upgrade and update.
  • Fix splitting IP6 addresses.
  • Fix stop with IP addresses that specify options.
  • Fix rollback when the mountpoint was not just "/iocage".
  • Fix basejail creation with templates.
    Example: iocage fstab -a JAIL /the/dir
  • Allow easy fstab mounts.
  • Use new library for start
  • Use new library for stop
  • Add compressed man page and install it with setup.py
  • Fix tag deletion on destroy.
  • Fix import and export with different iocroot's instead of "/iocage"
  • Errrrr we actually want to continue on plugin files. Reported by Kris Moore
  • Show admin portal if the plugin specifies it in the ui.json.
  • Fix bad split logic for plugin parsing.
  • Catch SIGINT for create.
  • Add --noupdate to tests for fetch.
  • Do not try to set IP on a vnet jail while it is running.
  • Allow HardenedBSD usage with pytest easier.
  • Implement prestart, poststart, prestop and poststop
  • Fix plugin creation
  • Fix bad replacement that ended up breaking basejails.
  • Fix basejail creation for HardenedBSD
  • Disable using FreeBSD repo when creating a plugin.
  • Don't use a hardcoded SRV and DNSSEC url/name for fetching plugins
  • Strip out subnet mask for admin portal.
  • Fix templates overriding jails when they share the same tag.
  • Actually show the returned property for plugins.
  • Add readonly key support to plugins
  • Show stdout when fetching a plugin
  • Allow properties to be specified in plugin JSON now.
  • Have plugins use boot=on by default.
  • Allow setting ip4_addr or ip6_addr to "none".
  • Bail out if IP's are in use when starting a jail.
    This was partially functional before, but not made obvious. In addition it did not function for HardenedBSD.
  • Allow the user to just hit enter to use the host's RELEASE if applicable.
  • Add kmod support for plugins.
  • Show proper release for plugins.
  • Add sigint handling for plugins.
  • Set self.release again for plugins, this allows us to fetch missing releases.
  • Add a message telling the user we will try to download the RELEASE.
  • Allow specifying all the custom fetch variables to --plugins
    It worked with the old, but not very ideal. This will use the equivalent -STABLE if possible.
  • HardenedBSD support for plugins.
  • Fix creating basejails on HardenedBSD.
  • Improve error message for missing plugin JSON.
  • Hopefully fix some plugins blocking command output.
  • Fix VNET jails and the IP check.
  • Fix clean not removing IP addresses.
  • Add activate to iocage API
  • Add chroot to iocage API
  • Add clean to iocage API
  • Add cleaning RELEASEs.
  • Be less optimistic with activate. Also fix bug when no zpool has been activated.
  • Add clone subcommand.
  • Make sure jail isn’t running before being cloned.
  • Implement pygit2
Assets 2

@skarekrow skarekrow released this Mar 9, 2017 · 1210 commits to master since this release


  • Python 3.6 and up only
  • Migrate jailed datasets
  • Migrate hack88 jails
  • Fix tags for short UUIDs
  • Fix zpool activation from old iocage
  • Fix starting and stopping ALL from trying to use a nonexistent index.
  • Automatically fetch RELEASEs if they don’t exist when specified during creation.
  • More resiliance to FTP timeouts
  • Add -U —update/-NU —noupdate for fetch to disable updating to the latest patchlevel.
  • We now validate property values
  • Fix stopping the network too early
  • Allow ZFS props to be set during creation and with set.
  • Improve activate robustness and code coverage (Thanks @lpefferkorn!)
  • Fix stopping with IP4 addresses.
  • Use boot priority for start and stop ALL
  • Add basejails to create (iocage create -b)
  • Fix not checking if the pkglist is JSON
  • A big split to tests for functional and unit tests (Thanks again @lpefferkorn!)
  • Add empty jail creation (iocage create -e)
  • Open character special devices (/dev/stdout, etc) in write mode instead of append.
  • Fix greedy prop checking for templates
  • Make sure no children are running during any template operation.
  • Check SRV and DNSSEC responses if installing packages during creation
  • Add IPv6 support for VNET (Thanks @joachimmathes)

API Changes

  • Add “skip” key to json_convert_from_zfs
  • Add “update” key to ioc_fetch
  • Add “cli” key to ioc_json
  • ioc_list now returns objects instead of handling the printing
Assets 2

@skarekrow skarekrow released this Feb 17, 2017 · 1259 commits to master since this release


  • Add rc variable for UTF-8, this is required for python 3 iocage to boot.
  • Migrate old activation property to the new one
  • Fix plugins loading their JSON
  • Document "all" property for get and add new "pool" one.
  • Fix fetching RELEASE automatically during create if count is specified.
Assets 2