Raúl Sánchez Siles <[EMAIL PROTECTED]> writes: > Package: schroot > Version: 1.1.5-1.1 > Severity: normal > > Hello: > > I've set up several chroot configurations using chroot, I attach my > schroot.conf, on my sid32 configuration I've set the run-exec-scripts > option to true, but schroot doesn't read it correctly. > > I'm also attaching the schroot -i -c sid32 --debug=notice output.
Thanks. The reason for this is due to a typo in the configuration file: > [sid32] > run-exec-script=true ^ should be run-exec-scripts > run-setup-scripts=true The debug output confirms this: > D(2): Getting keyfile group=sid32, key=run-setup-scripts > D(1): value=1 > D(2): Getting keyfile group=sid32, key=run-session-scripts > D(1): key not found > D(2): Getting keyfile group=sid32, key=run-exec-scripts > D(1): key not found Key set for run-setup-scripts but not run-exec-scripts (the value is false by default). The reason misspelt keys are not flagged as errors is so that forwards-compatibility may be maintained. It might be worth reviewing that, and stopping with an error (or perhaps just a warning) if invalid keys are found. I'll leave the bug open as a note to implement this. 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.
pgp7TVxD2uvT8.pgp
Description: PGP signature