[Buildd-tools-devel] Bug#459658: Bug#459658: schroot: Unable to read properly run-exec-scripts option.

Roger Leigh rleigh at whinlatter.ukfsn.org
Tue Jan 8 00:11:24 UTC 2008


Raúl Sánchez Siles <rasasi78 at gmail.com> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20080108/11b627bc/attachment.pgp 


More information about the Buildd-tools-devel mailing list