jailctl is a FreeBSD /bin/sh script to ease the creating and maintenance of jails. It is currently capable of starting/stopping jails, creating jails (with installworld and subsequent cleaning up), upgrading jails (installworld + mergemaster), deleting jails, and displaying jail status info and per-jail process lists. It also includes functionality for warm and cold jail backups and subsequent restoration.
| Tags | Systems Administration |
|---|---|
| Licenses | BSD Revised |
| Operating Systems | POSIX BSD FreeBSD |
Recent releases


Changes: This release adds the ability to specify custom paths for jails. The default configuration files have been slightly adjusted for jails. The jailctl man page has been updated, and a jails.conf man page added.


Changes: A typo snuck in that made jailctl fail under certain circumstances. Some functions only worked on 5.x (-eq instead of -ge). Very long jail names would cause various malfunctions. /usr/share/examples was incorrectly deleted from jails when creating or upgrading them.


Changes: The concept of "hooks" was added at various points. A check is made for mounted filesystems prior to jail deletion. Different dellist.txt files are used for FreeBSD 4.x and FreeBSD versions 5 or later. The ability to upgrade jails while running was added. A jail matching problem, some problems with shutting down jails, and the rc.shutdown execution (FreeBSD >=5 only) were fixed.


Changes: Showstopper bugs in 0.6 prevented jailctl from working correctly on FreeBSD 6.x. The BATCH flag works properly. This release should also work better from cron jobs.


Changes: This release adds installworld flags to the configuration file. There is a new batch mode. If enabled, it uses the default password. It otherwise asks when creating new jails. The ability to force starting and deleting of jails. DevFS support on FreeBSD 5.x and above, and FreeBSD 6.x compatibility. Improved FreeBSD 4.x functionality.