Package: debarchiver
Version: 0.7.3
Severity: normal

Hi, it seems if someone writes a syntax error in /etc/debarchiver.conf, the
script silently ignores that problem.

I had a look at the code, I think the problem may be in opalmod, line 152 of 
OpaL::action says:
    150 sub pdebug ($$;&) {
    151     my ($lvl,$message,$ref) = @_;
    152     if ($debuglvl >= $lvl) {
    153         if ($message !~ /\n$/) {
    154             $message = $message . "\n";
    155         }
    156         print ("$ERRLVL{$lvl}: $message");
    157     }
    158     exitlvl($lvl,$ref);
    159     return;
    160 }

when I was using the perl debugger, instead of line 152 causing the error to 
be printed it skipped down to line 158 and called exitlvl().

Similarly at line 173 where it decides in exitlvl() not to exit the program.

-- System Ieformation:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-xen-686
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)

Versions of packages debarchiver depends on:
ii  adduser                     3.102        Add and remove users and groups
ii  apt-utils                   0.6.46.4-0.1 APT utility programs
ii  dpkg-dev                    1.13.25      package building tools for Debian
ii  opalmod                     0.1.14       A set of Perl modules for various 

debarchiver recommends no packages.

-- no debconf information


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

Reply via email to