[buildd-tools-devel] Bug#574723: schroot: add support for "forwarding" ssh-agent to chroot

Sascha Silbe sascha-debian-bugs-schroot-2010-03-20 at silbe.org
Sat Mar 20 13:51:42 UTC 2010


Package: schroot
Version: 1.4.1-2
Severity: wishlist
Tags: patch


I've written an exec script (attached) to "forward" ssh-agent into 
chroots by bind-mounting the ssh-agent socket directory. It's a bit of a 
hack since schroot uses a clean environment for exec and setup scripts, 
but it works well for me.
It might be useful to others; how about adding it to the schroot 
package, either installed by default or in a new 
/usr/share/doc/schroot/contrib directory?

-- System Information:
Debian Release: squeeze/sid
    APT prefers testing
    APT policy: (500, 'testing')
Architecture: armel (armv5tel)

Kernel: Linux 2.6.33-rc5-flatty-ocf-1-00255-g5b8834f
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages schroot depends on:
ii  libboost-filesystem1.40.0    1.40.0-6+b1 filesystem operations 
(portable pa
ii  libboost-program-options1.40 1.40.0-6+b1 program options library for 
C++
ii  libboost-regex1.40.0         1.40.0-6+b1 regular expression library 
for C++
ii  libboost-system1.40.0        1.40.0-6+b1 Operating system (e.g. 
diagnostics
ii  libc6                        2.10.2-6    Embedded GNU C Library: 
Shared lib
ii  libgcc1                      1:4.4.2-9   GCC support library
ii  liblockdev1                  1.0.3-1.4   Run-time shared library for 
lockin
ii  libpam0g                     1.1.1-2     Pluggable Authentication 
Modules l
ii  libstdc++6                   4.4.2-9     The GNU Standard C++ 
Library v3
ii  libuuid1                     2.16.2-0    Universally Unique ID 
library
ii  schroot-common               1.4.1-2     common files for schroot

schroot recommends no packages.

Versions of packages schroot suggests:
pn  aufs-modules | unionfs-module <none>     (no description available)
ii  debootstrap                   1.0.22     Bootstrap a basic Debian 
system
ii  lvm2                          2.02.54-1  The Linux Logical Volume 
Manager
ii  unzip                         6.0-4      De-archiver for .zip files

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 10mount-ssh
Type: text/x-shellscript
Size: 1495 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20100320/aa67ea69/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20100320/aa67ea69/attachment.pgp>


More information about the Buildd-tools-devel mailing list