Package: schroot Version: 1.4.19-1+squeeze1 Severity: normal While debugging the old 'create-chroot.sh' script from pkern that was having hickups, I finally realized that schroot behaves apparently inconsistently depending on the cwd:
This works: buildd@envy:~$ schroot -c sid-ia64-sbuild -u root -- apt-get update Hit http://debian.ens-cachan.fr sid InRelease [...] This doesn't work: buildd@envy:~/chroots$ schroot -c sid-ia64-sbuild -u root -- apt-get update E: Failed to change to directory '/home/buildd/chroots': No such file or directory >From what I can tell, trying to run schroot from any directory /below/ the >home directory fails with the above error. Running from "higher" directories (such as /, or /tmp) works. I've traced both schroot invocations with -v, there is absolutely no difference (save of course for the session UUID) in the outputs. HTH -- System Information: Debian Release: 6.0.2 APT prefers stable APT policy: (500, 'stable') Architecture: ia64 Kernel: Linux 2.6.32.40 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Versions of packages schroot depends on: ii libboost-filesystem1.4 1.42.0-4 filesystem operations (portable pa ii libboost-program-optio 1.42.0-4 program options library for C++ ii libboost-regex1.42.0 1.42.0-4 regular expression library for C++ ii libboost-system1.42.0 1.42.0-4 Operating system (e.g. diagnostics ii libc6.1 2.11.2-10 Embedded GNU C Library: Shared lib ii libgcc1 1:4.4.5-8 GCC support library ii liblockdev1 1.0.3-1.4 Run-time shared library for lockin ii libpam0g 1.1.1-6.1 Pluggable Authentication Modules l ii libstdc++6 4.4.5-8 The GNU Standard C++ Library v3 ii libunwind7 0.99-0.2 A library to determine the call-ch ii libuuid1 2.17.2-9 Universally Unique ID library ii schroot-common 1.4.19-1+squeeze1 common files for schroot schroot recommends no packages. Versions of packages schroot suggests: pn aufs-modules | unionfs-m <none> (no description available) pn btrfs-tools <none> (no description available) ii debootstrap 1.0.26+squeeze1 Bootstrap a basic Debian system pn lvm2 <none> (no description available) ii unzip 6.0-4 De-archiver for .zip files -- Configuration Files: /etc/schroot/default/fstab changed: /proc /proc none rw,rbind 0 0 /sys /sys none rw,rbind 0 0 /dev /dev none rw,rbind 0 0 /tmp /tmp none rw,bind 0 0 /etc/schroot/default/nssdatabases changed: passwd group services protocols networks hosts -- debconf information: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org