makejail - Automatically create chroot jails for programs

Property Value
Distribution Ubuntu 18.04 LTS (Bionic Beaver)
Repository Ubuntu Universe amd64
Package filename makejail_0.0.5-10_all.deb
Package name makejail
Package version 0.0.5
Package release 10
Package architecture all
Package type deb
Category universe/admin
License -
Maintainer Ubuntu Developers <>
Download size 35.47 KB
Installed size 149.00 KB
Makejail helps an administrator to create and update a chroot jail
using short configuration files. If not enough information is
provided in these it will attempt to guess which files are required
by the daemon and will install all of them in the jail.


Package Version Architecture Repository
makejail_0.0.5-10_all.deb 0.0.5 all Ubuntu Universe
makejail - - -


Name Value
binstats -
debconf -
psmisc -
python << 3
python >= 2.2
strace -


Type URL
Binary Package makejail_0.0.5-10_all.deb
Source Package makejail

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install makejail deb package:
    # sudo apt-get install makejail




2012-03-03 - Javier Fernandez-Sanguino Pen~a <>
makejail (0.0.5-10) unstable; urgency=low
* Reorder the call to shutil to ensure that the setuid bit is 
copied when making a jail, thanks to Charles Burgoyne for the
report and fix. (Closes: 661497) 
* examples/ Add an example to chroot exim4 (largely untested)
2010-03-20 - Javier Fernandez-Sanguino Pen~a <>
makejail (0.0.5-9) unstable; urgency=low
* Fix pathname handling when the directory components include absolute
symlink. Thanks to Daiki Ueno for the patch (Closes: #570695).
2010-02-23 - Javier Fernandez-Sanguino Pen~a <>
makejail (0.0.5-8) unstable; urgency=low
[ Changes by  Florian Grandel < ]
* Makejail default configuration now in /etc/makejail/makejail.conf
There is no conflict now with the /etc/makejail/ directory
and it is possible for the administrator to set defaults (Closes: #495112)
* Changed default for straceCommand/straceCommandPid to include child
threads (strace -ff)
* Changed default for doNotCopy for security reasons (added /proc)
* cleanJailFirst default now correctly documented, manual page now indicates
* that the default value for cleanJailFirst is
0 and not 1 (Closes: #495118) (closes: #495118)
* should now preserve POSIX attributes (closes: #310781), still
does not preserve ext2/ext3 attributes however
* now copies directory as a result of chdir by introducing additional
patterns to be processed in the strace (closes: #392773)
* now chowns copied files (closes: #495147)
* now correctly handles strace -ff (closes: #495277)
* fixes several lintian warnings
* updated policy version
* debian/rules: now builds the documentation (should not be included in
[ Changes by Javier Fernandez-Sanguino ]
* Use debhelper compatibility version 5
* Check if /sbin/ldconfig.real exists (Ubuntu systems) and set
pathToLdConfig to /sbin/ldconfig.real to avoid
introducing bash in all jails. (LP: #263614, closes: #495116)
* Review documentation to fix a widespread typo in makejail
* Remove ISO-8859-1 encoding in examples/ as it prevented
it from being loaded in newer python versions due to issues
in enconding.
* Include the pam.d/common-* files in the example for sshd.
* Provides a more descriptive message if the target chroot directory does
not exist (Closes: #193087, #570607)
* Added Alexandre Ratti's documentation on how to setup a chrooted Apache
with makejail, credit him in debian/copyright and distribute the files
under the examples/ directory adjusting also the file.
(Closes: #171842)
* Add the Homepage location to debian/control as a pseudo-header
* Highlight in the manpage that the package is heavily patched
2006-07-16 - Javier Fernandez-Sanguino Pen~a <>
makejail (0.0.5-7) unstable; urgency=low
* Ldd output has now changed and some libraries might not include a '=>'
but, rather, the absolute path. Patch makejail so it handles those lines.
This helps it detect that it needs to install /lib/
in the jail (Closes: #358975)
* Use shutil.copystat instead of the inline CopyStat function in order to
properly preserve setuid bits (Closes: #310781)
* Use Debhelper compatibility version 4
* Add /usr/sbin/rndc to the example makejail file for Bind (Closes: #259453)
* Unmount /proc if we will attempt to clean the Jail first so that
reruning makejail will not fail if /proc is mounted (Closes: #375130)
2005-09-04 - Javier Fernandez-Sanguino Pen~a <>
makejail (0.0.5-6) unstable; urgency=low
* Fix typo in manpage (Closes: #326537)
2004-01-23 - Javier Fernandez-Sanguino Pen~a <>
makejail (0.0.5-5) unstable; urgency=low
* Proper debian/copyright file.
* Moved Build-Depends to Build-Depends-Indep
* Fixed description

See Also

Package Description
makepasswd_1.10-11_all.deb Generate and encrypt passwords
makepatch_2.03-1.1_all.deb generate/apply patch files with more functionality than plain diff
makepp_2.0.98.5-2_all.deb GNU make compatible but reliable and simpler build tool
makeself_2.2.0+git20161230-1_all.deb utility to generate self-extractable archives
makexvpics_1.0.1-3_amd64.deb updates .xvpics thumbnails from the command line
maki-plugins_1.4.0+git20160822+dfsg-4_amd64.deb D-Bus-based IRC suite (daemon plugins)
maki_1.4.0+git20160822+dfsg-4_amd64.deb D-Bus-based IRC suite (daemon)
malaga-bin_7.12-7build1_amd64.deb System for automatic language analysis
malaga-doc_7.12-7build1_all.deb Documentation for an automatic language analysis system
malaga-mode_7.12-7build1_all.deb System for automatic language analysis - emacs mode
maliit-dbus-activation_0.99.1+git20151118+62bd54b-0ubuntu18_all.deb transitional dummy package
maliit-framework-dev_0.99.1+git20151118+62bd54b-0ubuntu18_amd64.deb Maliit Input Method Framework - Development Files
maliit-framework_0.99.1+git20151118+62bd54b-0ubuntu18_amd64.deb Maliit Input Method Framework
maliit-inputcontext-gtk2_0.99.1-0ubuntu1_amd64.deb Maliit GTK+ 2 input method module
maliit-inputcontext-gtk3_0.99.1-0ubuntu1_amd64.deb Maliit GTK+ 3 input method module