tags 586198 + fixed-upstream pending thanks On Thu, Jun 17, 2010 at 11:42:50AM +0200, Bastian Blank wrote: > Package: schroot > Version: 1.4.4-1 > Severity: important > File: /etc/schroot/setup.d/20nssdatabases > > 20nssdatabases fails if the nss database does not already exist in the > chroot: > | $ dchroot-dsa sid-amd64 > | E: 20nssdatabases: /usr/bin/stat: cannot stat > `/var/lib/schroot/mount/sid-amd64-388a214b-7be9-449d-9bf3-825a2042bded/etc/services': > No such file or directory > | E: sid-amd64-388a214b-7be9-449d-9bf3-825a2042bded: Chroot setup failed: > stage=setup-start > > The easiest fix is to use > | dc=$(/usr/bin/stat --format="%d %i" "${CHROOT_PATH}/etc/$db" 2>/dev/null || > :)
Thanks for the suggestion. I've applied this change to 20nssdatabases, and a similar fix to 20copyfiles (which used similar logic for stat and md5sum). Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/ `- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
signature.asc
Description: Digital signature