Package: schroot Version: 1.2.1-1 Severity: wishlist File: /etc/schroot/setup.d/10mount
I don't understand why setup.d/10mount says that fsck doesn't like to be run noninteractively. Anyway, I factored fsck out into a separate setup script, and it would rock if you could include that (in lenny!!!) :) See attachment. Note I made it GPLv2 because I don't support GPLv3. If you have a problem with that, you have permission to change it to whatever suits you. -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.25-2-amd64 (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-filesystem1.34.1 1.34.1-11 filesystem operations (portable pa ii libboost-program-options1.3 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-12 GNU C Library: Shared libraries ii libgcc1 1:4.3.1-7 GCC support library ii liblockdev1 1.0.3-1.2+b1 Run-time shared library for lockin ii libpam0g 0.99.7.1-7 Pluggable Authentication Modules l ii libstdc++6 4.3.1-7 The GNU Standard C++ Library v3 ii libuuid1 1.41.0-3 universally unique id library ii schroot-common 1.2.1-1 common files for schroot schroot recommends no packages. Versions of packages schroot suggests: ii debootstrap 1.0.10 Bootstrap a basic Debian system ii lvm2 2.02.39-2 The Linux Logical Volume Manager ii unzip 5.52-11 De-archiver for .zip files -- no debconf information -- .''`. martin f. krafft <[EMAIL PROTECTED]> : :' : 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
#!/bin/sh # Copyright © 2005-2007 Roger Leigh <[EMAIL PROTECTED]> # Copyright © 2008 martin f. krafft <[EMAIL PROTECTED]> # # schroot is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation, version 2 of the License. # # schroot is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see # <http://www.gnu.org/licenses/>. # ##################################################################### set -e if [ -f "$CHROOT_SCRIPT_CONFIG" ]; then . "$CHROOT_SCRIPT_CONFIG" fi if [ "$AUTH_VERBOSITY" = "verbose" ]; then FSCK_VERBOSE="-V" fi if [ "$CHROOT_TYPE" = "block-device" ] || [ "$CHROOT_TYPE" = "lvm-snapshot" ]; then if [ $1 = "setup-start" ] || [ $1 = "setup-recover" ]; then ret=0 /sbin/fsck $FSCK_VERBOSE -a "$CHROOT_MOUNT_DEVICE" || ret=$? case "$ret" in 0|1) :;; *) echo "fsck failed with return code $ret (see fsck(8))." >&2 exit 1 ;; esac fi fi
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

