[buildd-tools-devel] Bug#579387: schroot: Please allow to use variables in default/fstab

Mike Hommey mh+reportbug at glandium.org
Tue Apr 27 13:58:49 UTC 2010


Package: schroot
Version: 1.4.1-2
Severity: wishlist

I'm currently using the new unionfs support in schroot, which is an awesome
addition, but it would be useful for my setup to be able to specify variables
in some places of the fstab, so that I don't need to write extra setup scripts.

Currently, I'm removing /home from the default fstab and mount it later with
custom unionfs setup, and I also bind mount /var/cache/apt/archives from the
original chroot, so that it is not part of the unionfs.

It would be much simpler for me (and other users, for that matter), to be able
to specify, say:

/home /home aufs br:${CHROOT_UNION_OVERLAY_DIRECTORY}/home:/home=ro 0 0
${CHROOT_DIRECTORY}/var/cache/apt/archives /var/cache/apt/archives none rw,bind 0 0

(though in my case, there would still be a problem, as
${CHROOT_UNION_OVERLAY_DIRECTORY}/home doesn't exist at first ; does
schroot-mount create mount points when they don't exist ?)

Cheers,

Mike

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.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 1.40.0-6+b1      filesystem operations (portable pa
ii  libboost-program-option 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-7         Embedded GNU C Library: Shared lib
ii  libgcc1                 1:4.5-20100404-1 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.5-20100404-1   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.62-1  The Linux Logical Volume Manager
ii  unzip                         6.0-4      De-archiver for .zip files

-- Configuration Files:
/etc/schroot/default/fstab changed [not included]
/etc/schroot/schroot.conf changed [not included]

-- no debconf information





More information about the Buildd-tools-devel mailing list