[buildd-tools-devel] Bug#675408: schroot: does not honour FSTAB from /etc/schroot/$profile/config

Jakub Wilk jwilk at debian.org
Thu May 31 22:09:28 UTC 2012


Package: schroot
Version: 1.5.4-1

/etc/schroot/setup.d/10mount contains the following code:

     # For backward compatibility
     if [ -z "$SETUP_FSTAB" ]; then
         SETUP_FSTAB="$FSTAB"
     else
         SETUP_FSTAB="${SCHROOT_SYSCONF_DIR}/${SETUP_FSTAB}"
     fi

But the "then" part is dead code, as SETUP_FSTAB is always non-empty.

(NB, I don't understand what the else part is supposed to to.  
SETUP_FSTAB is an absolute path at this point, and SCHROOT_SYSCONF_DIR 
is empty, so this merely adds a leading slash...)


-- System Information:
Debian Release: wheezy/sid
   APT prefers unstable
   APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.3.0-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages schroot depends on:
ii  libboost-filesystem1.49.0       1.49.0-3
ii  libboost-iostreams1.49.0        1.49.0-3
ii  libboost-program-options1.49.0  1.49.0-3
ii  libboost-regex1.49.0            1.49.0-3
ii  libboost-system1.49.0           1.49.0-3
ii  libc6                           2.13-32
ii  libgcc1                         1:4.7.0-11
ii  liblockdev1                     1.0.3-1.4+b2
ii  libpam0g                        1.1.3-7.1
ii  libstdc++6                      4.7.0-11
ii  libuuid1                        2.20.1-5
ii  schroot-common                  1.5.4-1

Versions of packages schroot suggests:
ii  aufs-modules | unionfs-modules  <none>
ii  btrfs-tools                     0.19+20120328-2
ii  debootstrap                     1.0.40
ii  lvm2                            <none>
ii  qemu-user-static                1.0.1+dfsg-1

-- 
Jakub Wilk





More information about the Buildd-tools-devel mailing list