Package: fai-client
Version: 3.2.9
Severity: minor

If I set the variable debug=0 in a *.var file (for setup-storage for
e.g.) all shell scripts will be executed with debugging output like this

=====   shell: FAIBASE/10-misc   =====
+ error=0
+ trap error=1 ERR
+ fcopy -i /etc/modules


+ local cl
+ local ret=1
+ for cl in '$classes'
+ '[' xDEFAULT = xDHCPC ']'
+ for cl in '$classes'
+ '[' xLINUX = xDHCPC ']'
+ for cl in '$classes'
+ '[' xI386 = xDHCPC ']'
+ for cl in '$classes'
+ '[' xFAIBASE = xDHCPC ']'
+ for cl in '$classes'


It's because fai-do-script checks only if the variable is set, not if
its value is 1. In line 108

             [ "$debug" ] && shelldebug="sh -x" ;;

this has to be changed.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-amd64
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages fai-client depends on:
ii  file                        4.17-5etch3  Determines file type using "magic"
ii  libapt-pkg-perl             0.1.20       Perl interface to libapt-pkg
ii  libparse-recdescent-perl    1.94.free-3  Generates recursive-descent parser
ii  perl                        5.8.8-7etch3 Larry Wall's Practical Extraction 

Versions of packages fai-client recommends:
ii  debconf-utils                1.5.11etch2 debconf utilities

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to