[buildd-tools-devel] schroot
shawn wilson
ag4ve.us at gmail.com
Tue Oct 8 05:48:04 UTC 2013
This is at the top of every schroot config file, but I can't find it documented:
. "$SETUP_DATA_DIR/common-data"
. "$SETUP_DATA_DIR/common-functions"
. "$SETUP_DATA_DIR/common-config"
Where is this being sourced from (ie, where is the 'common-data'
file?) and (more important) where is this documented?
I've searched text files (and bz2 and gz files in /usr/share and the
git tree) for 'SETUP_DATA_DIR' and just found a commit message:
commit d4e72630444ff75b74e43830639aaf1e8d03e4e5
Author: Roger Leigh <rleigh at debian.org>
Date: Sun Jul 4 00:11:32 2010 +0100
build: Remove maintainer mode and add additional defines
Remove maintainer mode.
Add SCHROOT_DATA_DIR, SCHROOT_SETUP_DATA_DIR and replace
PACKAGE_SYSCONF_DIR with SCHROOT_SYSCONF_DIR.
Export into the setup script environment as SYSCONF_DIR,
DATA_DIR and SETUP_DATA_DIR.
Also, maybe not an issue with schroot, but when I try to strace it, it
won't authenticate where this otherwise works (yeah, I'm trying to
figure out what those variables do without digging through source -
probably stupid not to just look at the code but whatever):
% strace -f -s 1024 -e trace=stat64,read,write schroot -c test -- ls
/ 2>&1 | tail -5
write(2, "E: ", 3E: ) = 3
write(2, "PAM error: Authentication service cannot retrieve
authentication info", 69PAM error: Authentication service cannot
retrieve authentication info) = 69
write(2, "\n", 1
) = 1
+++ exited with 1 +++
More information about the Buildd-tools-devel
mailing list