schroot - Execute commands in a chroot environment

Property Value
Distribution Debian 7 (Wheezy)
Repository Debian Main amd64
Package name schroot
Package version 1.6.4
Package release 4
Package architecture amd64
Package type deb
Installed size 2.57 KB
Download size 944.46 KB
Official Mirror
schroot allows users to execute commands or interactive shells in
different chroots.  Any number of named chroots may be created, and
access permissions given to each, including root access for normal
users, on a per-user or per-group basis.  Additionally, schroot can
switch to a different user in the chroot, using PAM for
authentication and authorisation.  All operations are logged for
Several different types of chroot are supported, including normal
directories in the filesystem, and also block devices.  Sessions,
persistent chroots created on the fly from files (tar with optional
compression) and Btrfs and LVM snapshots are also supported.
schroot supports kernel personalities, allowing the programs run
inside the chroot to have a different personality.  For example,
running 32-bit chroots on 64-bit systems, or even running binaries
from alternative operating systems such as SVR4 or Xenix.
schroot also integrates with sbuild, to allow building packages with
all supported chroot types, including session-managed chroot types
such as Btrfs and LVM snapshots.
schroot shares most of its options with dchroot, but offers vastly
more functionality.


Package Version Architecture Repository
schroot_1.6.4-4_i386.deb 1.6.4 i386 Debian Main
schroot - - -


Name Value
libboost-filesystem1.49.0 >= 1.49.0-1
libboost-iostreams1.49.0 >= 1.49.0-1
libboost-program-options1.49.0 >= 1.49.0-1
libboost-regex1.49.0 >= 1.49.0-1
libboost-system1.49.0 >= 1.49.0-1
libc6 >= 2.4
libgcc1 >= 1:4.1.1
liblockdev1 -
libpam0g >=
libstdc++6 >= 4.6
libuuid1 >= 2.16
schroot-common = 1.6.4-4


Name Value
dchroot << 0.13


Name Value
buildd << 0.62.3-1
sbuild << 0.62.3-1


Type URL
Binary Package schroot_1.6.4-4_amd64.deb
Source Package schroot

Install Howto

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




2012-11-03 - Roger Leigh <>
schroot (1.6.4-4) unstable; urgency=low
* schroot: Add sbuild profile fstab file for freebsd
(Closes: #692213).  This mounts /dev, /dev/fd and /build.
2012-10-29 - Roger Leigh <>
schroot (1.6.4-3) unstable; urgency=low
* schroot-mount canonicalises both the base path and full
path when sanity checking mountpoints (Closes: #691694).
2012-10-28 - Roger Leigh <>
schroot (1.6.4-2) unstable; urgency=low
* sbuild::chroot_facet_session_clonable: Include
sbuild-chroot-block-device-base.h, which was missing on
kFreeBSD and Hurd builds (it's included indirectly on Linux
via the LVM snapshot header).
2012-10-27 - Roger Leigh <>
schroot (1.6.4-1) unstable; urgency=low
* New upstream stable release.
* NEWS: Provide guidance for wheezy upgrades with regard to
use of the profile key in a backward-compatible manner also
using setup.config, to mimic the behaviour of the deprecated
script-config key.
* schroot.conf(5) additionally updated to document script-config
deprecation and use of user keys such as setup.config.
* schroot-mount: Canonicalise mountpoints with symlinks to avoid
mounting absolute paths on the host rather than inside the chroot
(Closes: #686148).  Note the caveat regarding paths with multiple
symlinks in schroot-script-config(5).  This permits safe use of
symlinks as mountpoints in some common circumstances, e.g. on
/var/lock, which is a symlink to /run/lock, though this is not
recommended practice.
* 15binfmt no longer pollutes output, by redirecting stderr from
"which update-binfmts" (Closes: #688304).
* Ensure that CHROOT_ALIAS (setup scripts) and SCHROOT_ALIAS_NAME
(user environment) always refer to the alias used to create the
session (Closes: #689078).  The alias is no longer canonicalised
by sbuild::chroot_config::validate_chroots.  The logic for
chroot validation and information display in sbuild::chroot_config
and schroot::main_base (and derived classes) required refactoring
to allow the unresolved alias name to be passed through to the
session clone operation in sbuild::session, so that it could be
stored in the chroot's sbuild::chroot_facet_session facet.
* On session recovery, mount the snapshot LV rather than the source
LV for LVM snapshot chroots (Closes: #691376).  The code which
sets the mount device for all mountable chroots (with an
sbuild::chroot_facet_mountable facet) is in
All chroot types refactored to set the mount device here.
* 10mount uses a lock directory /var/lock/schroot to contain its
lockfile, rather than directly using /var/lock, which is less
2012-07-21 - Roger Leigh <>
schroot (1.6.3-1) unstable; urgency=low
* New upstream stable release.
* Revert pam_env change in 1.6.2-1.  This is due to running the
PAM module on the host, it would inappropriately set LANG, LANGUAGE
and potentially other environment variables which would be
incorrect inside the chroot.
2012-07-18 - Roger Leigh <>
schroot (1.6.2-1) unstable; urgency=low
* New upstream stable release.
* schroot:
- PAM pam_env is used to set up additional environment from
/etc/security/pam_env.conf and /etc/default/locale.
- /usr/bin/X11 and /usr/games have been removed from the
default PATH.

See Also

Package Description
scid-data_4.3.0.cvs20120311-1_all.deb data files for scid, the chess database application
scid-rating-data_200901-2_all.deb contains spelling corrections and ELO ratings for scid chess databases
scid-spell-data_200901-2_all.deb contains spelling corrections for scid chess databases
scid_4.3.0.cvs20120311-1_amd64.deb chess database with play and training functionality
scidavis_0.2.4-3.3_amd64.deb application for scientific data analysis and visualization
science-astronomy-dev_1.0_all.deb Debian Science Astronomy-dev packages
science-astronomy_1.0_all.deb Debian Science Astronomy packages
science-biology_1.0_all.deb Debian Science Biology packages
science-chemistry_1.0_all.deb Debian Science Chemistry packages
science-config_1.0_all.deb Debian Science Project config package
science-dataacquisition-dev_1.0_all.deb Debian Science data acquisition development packages
science-dataacquisition_1.0_all.deb Debian Science data acquisition packages
science-distributedcomputing_1.0_all.deb Debian Science Distributed Computing packages
science-electronics_1.0_all.deb Debian Science Electronics packages
science-electrophysiology_1.0_all.deb Debian Science packages for Electrophysiology