Skip to content

Releases: Jip-Hop/jailmaker

v2.0.0

28 May 19:20
955d80f
Compare
Choose a tag to compare

The latest version of jailmaker is now officially licensed as open source under the LGPL-3.0 license! This makes it possible for iXsystems to reuse jailmaker code for a future release of TrueNAS SCALE. This version includes breaking changes, so please read these notes carefully. You can, as usual, replace jlmkr.py to upgrade to the latest version.

Removed config options

The deprecated gpu_passthrough and docker_compatible config values have been removed. Please check your config files and remove these options if you're still using them. Instead of gpu_passthrough use the dedicated gpu_passthrough_intel and gpu_passthrough_nvidia options. Instead of docker_compatible refer to the documentation on how to make a docker-compatible jail.

Removed install command

The jlmkr install command has been removed. This doesn't change much for existing users. The shell alias which jailmaker created automatically in /root/.zshrc and /root/.bashrc will continue to work. However I suggest you remove the # managed by jailmaker comment from these files, as jailmaker will no longer manage this alias and won't modify your shell aliases from now on. The documentation explains how to manually setup a new alias if desired.

What's Changed

Full Changelog: v1.5.0...v2.0.0

v1.5.0

26 May 14:00
6c1d49c
Compare
Choose a tag to compare

There should be no breaking changes. You can simply replace jlmkr.py to upgrade to the latest version.

What's Changed

  • Add post_start_hook to support multiple network bridges by @Jip-Hop in #185
  • Add documentation for multiple network bridges by @RyanMelena in #182

New Contributors

Full Changelog: v1.4.2...v1.5.0

v1.4.2

20 May 11:50
d2eeefc
Compare
Choose a tag to compare

This bugfix release fixes issue #177 where a zfs pool with a space in it would cause problems when running the pre_start_hook and post_stop_hook. Creating the jlmkr alias will now also work if the zfs pool contains a space. There should be no breaking changes. You can simply replace jlmkr.py to upgrade to the latest version.

What's Changed

New Contributors

Full Changelog: v1.4.1...v1.4.2

v1.4.1

11 May 08:32
5259927
Compare
Choose a tag to compare

This bugfix release fixes issue #127 where nvidia passthrough would not work properly under some conditions. There should be no breaking changes. You can simply replace jlmkr.py to upgrade to the latest version.

What's Changed

New Contributors

Full Changelog: v1.4.0...v1.4.1

v1.4.0

09 May 13:23
bc8284e
Compare
Choose a tag to compare

This release brings improved behavior of the initial_setup script when creating new jails from config templates. This release does not introduce any changes in how existing jails are treated. In general there should be no breaking changes. But if you have your own, custom, config templates you may want to read carefully if this release impacts your initial_setup script. You can simply replace jlmkr.py to upgrade to the latest version.

What's Changed

  • The initial_setup script will now run once the jail has been startup for the first time and will wait for the init system and networking to be ready. It used to run BEFORE the first start using the host networking namespace and without applying the systemd_nspawn_user_args. This had several downsides, such as the inability to install some packages, not being able to access bind mounts from the initial_setup script and inconsistent networking modes. The new behavior fixes this.
  • Config templates now default to bridge networking, please see the updated docs on how to set up bridge networking.
  • The docker config template will now also install the NVIDIA Container Toolkit if gpu_passthrough_nvidia=1 when the jail starts for the first time.
  • Updated experimental lxd and incus templates to take advantage of the improved initial_setup behavior.
  • Fixes in the podman rootless install instructions as well as the config template.

Full Changelog: v1.3.0...v1.4.0

v1.3.0

07 May 18:09
487b0cd
Compare
Choose a tag to compare

There should be no breaking changes. You can simply replace jlmkr.py to upgrade to the latest version.

What's Changed

New Contributors

Full Changelog: v1.2.1...v1.3.0

v1.2.1

26 Apr 14:58
ea208ba
Compare
Choose a tag to compare

This release contains a bugfix to support zfs pools and datasets containing a space in their name. There should be no breaking changes. You can simply replace jlmkr.py to upgrade to the latest version.

What's Changed

New Contributors

Full Changelog: v1.2.0...v1.2.1

v1.2.0

24 Apr 15:33
fe8fcf3
Compare
Choose a tag to compare

This release combines the changes previously released as v1.1.4 and v1.1.5. Because those releases didn't follow use semantic versioning, releases v1.1.4 and v1.1.5 will be removed to correct this mistake. If you are already on version v1.1.5 then this release only changes the version number to v1.2.0. If you're on v1.1.4 or before you may want to read these release notes carefully as new behavior is introduced and deprecated features are announced.

This release includes the feature request to create a ZFS dataset for each jail thanks to @templehasfallen. This behavior is now the default for new users. Existing users may want to migrate their existing setup, which uses plain directories for their jails, by following the migration guide.

This release deprecates the config options gpu_passthrough and docker_compatible. They will be removed in a future release. To be prepared I recommend to no longer use these deprecated config options when creating new jails and replace these options in existing jails which still use them.

  • The gpu_passthrough option should be replaced with gpu_passthrough_intel and/or gpu_passthrough_nvidia
  • The docker_compatible is not actually required to run docker containers in a jail. You may look at the docker config template to see how to run docker in a jail.

Additionally this release introduces the new seccomp config option which allows you to completely turn off seccomp filtering. This may increase performance at the expense of security. When seccomp is off you don't need allow syscalls with --system-call-filter= (no syscalls will be blocked by seccomp). This behavior was previously included with the docker_compatible option, but is now separated in its own dedicated option.

There should be no breaking changes. You can simply replace jlmkr.py to upgrade to the latest version.

What's Changed

  • Added Full ZFS Dataset Support by @templehasfallen in #118
  • Deprecated docker_compatible and gpu_passthrough config options and added seccomp config option in #121
  • Correct semver by @Jip-Hop in #134

New Contributors

Full Changelog: v1.1.3...v1.2.0

v1.1.3

07 Apr 16:45
f046dd3
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.1.2...v1.1.3

v1.1.2

07 Apr 11:17
949c162
Compare
Choose a tag to compare

This version uses the updated lxc-download script from upstream which contains fixes for column alignment and preserves xattrs on unpack. In addition to that this release contains improvements for error handling and brings back warnings to the non-interactive create process.

There should be no breaking changes. You can simply replace jlmkr.py to upgrade to the latest version.

What's Changed

New Contributors

Full Changelog: v1.1.1...v1.1.2