JailTool is a script that creates a full chroot environment out of a declarative .jail file. To accomplish this it uses available package registration databases like the dpkg database and Perl CPAN .packlist files to create lists of files to be copied. It includes methods to prune the resulting filelist to your needs. It can create start/stop scripts for daemon related jails. It copies everything from the installed base system, and thus can make use of shared libraries without the need to create special chroot versions of programs.