logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

autopkgtest-schroot - autopkgtest virtualisation server using a schroot

Description

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

       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.  autopkgtest-schroot will refuse to
       work with a static "directory" type schroot.  Note that schroot does not  provide  significant  isolation
       between  the  testbed  and  the  host  system; if the packages under test are untrusted, then a different
       virtualisation server is recommended.

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

Input, Output And Exit Status

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

Name

       autopkgtest-schroot - autopkgtest virtualisation server using a schroot

Options

-sID|--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.

Permissions

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

       autopkgtest-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  autopkgtest
       as root instead.

See Also

autopkgtest(1), autopkgtest-virt-null(1), schroot(1), mk-sbuild(1).

Synopsis

autopkgtest[...]--schroot [options] schroot-name

See Also