adt-virt-schroot(1)

adt-virt-schroot1

Autopkgtest virtualisation server using a schroot

Synopsys

adt-virt-schroot [options] schroot-name

Overview

adt-virt-schroot provides an autopkgtest virtualisation server using a schroot. Normally adt-virt-schroot will be invoked by adt-run.

The schroot name to use must be specified. Only use this with schroots that provide temporary sessions, i. e. with type=file or type=directory and a configured union-type. adt-virt-schroot will refuse to work with a static "directory" type schroot.

You can use mk-sbuild(1) to conveniently create schroots.

Permissions

If you can access the schroot as your user (according to the schroot's users/groups configuration), you should run adt-virt-schroot (and adt-test) as normal user, too.

adt-virt-schroot reads the schroot configuration (root-users/root-groups) to determine whether it can enter the schroot as root user; if so, it sets the root-on-testbed capability and you can run tests which require building or running as root. If your user is not allowed to do that, you need to run adt-run as root instead.

Options

-s ID | --session-id=ID

Use a custom schroot session ID. This allows the user to easily identify hung sessions in schroot --list --all-sessions.

-d | --debug

Enables debugging output.

Input, output and exit status

The behaviour of adt-virt-schroot is as described by the AutomatedTesting virtualisation regime specification.

From autopkgtest 3.6jessie1 in Debian 8 (Jessie). Parsed by carta from the page's man source.