> Package: fai
> Version: 2.8.4
> Followup-For: Bug #307266
> 
> Hey, I was just looking at the example file[1] in your package, and it
> looks like it used spaces in the debconf info.  I have just found out
> the hard way that it prefers tabs.  I thought this might be related to
> your problem, and you might want to put something in the readme file
> about it.  Copy/paste from a terminal often yields spaces instead of
> tabs, which causes unexpected results.
> 

[...]

Are you really sure the space/tab-thing is the cause of your problems? As FAI
uses debconf-set-selections, I had a quick look at its code, which uses the
following regex to extract questions and answers from its input:

my ($owner, $label, $type, $content) = /^\s*(\S+)\s+(\S+)\s+(\S+)(?:\s(.*))?/;

Thus, any number of spaces/tabs > 1 is ok - but you might also want to check
your file using "debconf-set-selections -c" to validate your input. On the other
hand, xserver-xfree86 might either

- not use debconf correctly
- not use the values stored in the debconf-database, but rather use some values
  from a config file, which might have been created using the values in the
  debconf-db.

Regards,
Michael

Attachment: signature.asc
Description: Digital signature

Reply via email to