[Buildd-tools-devel] Bug#477935: way to prevent chroot from exiting

martin f krafft madduck at debian.org
Fri Apr 25 13:04:26 UTC 2008


Package: schroot
Version: 1.1.6-1
Severity: wishlist

If the setup.d scripts exit non-zero, the chroot is nevertheless
terminated. It would be nice to have a way to prevent that. E.g. if
a script exits 230 or the like, then schroot should roll back (run
scripts with setup-start with a higher number) and chroot back into
the directory.

There are two reasons for this:

  - I might be using the chroot for some elaborate test work and
    accidentally hit exit, losing all I did.
  - The git backend method I am currently developing should prevent
    the chroot from exiting if there are uncommitted changes.

Thanks,

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1+scoflowctrl.1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages schroot depends on:
ii  libboost-program-options1.34. 1.34.1-11  program options library for C++
ii  libboost-regex1.34.1          1.34.1-11  regular expression library for C++
ii  libc6                         2.7-10     GNU C Library: Shared libraries
ii  libgcc1                       1:4.3.0-3  GCC support library
ii  liblockdev1                   1.0.3-1.2  Run-time shared library for lockin
ii  libpam0g                      0.99.7.1-6 Pluggable Authentication Modules l
ii  libstdc++6                    4.3.0-3    The GNU Standard C++ Library v3
ii  libuuid1                      1.40.8-2   universally unique id library
ii  schroot-common                1.1.6-1    common files for schroot

schroot recommends no packages.

-- no debconf information


-- 
 .''`.   martin f. krafft <madduck at debian.org>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20080425/6f5b8583/attachment.pgp 


More information about the Buildd-tools-devel mailing list