Package: smokeping Version: 2.0.8-1 Severity: grave Tags: patch Justification: renders package unusable
/usr/lib/cgi-bin/smokeping.cgi has the wrong 'use lib' line. The error output it causes is attached as smokeping-error.log. A patch to fix the lib dir from: use lib qw(/usr/lib/perl5/smokeping); to: use lib qw(/usr/share/perl5/smokeping); is also attached. -Ted -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.16-1-686-smp Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Versions of packages smokeping depends on: ii adduser 3.86 Add and remove users and groups ii debconf [debconf-2.0] 1.4.72 Debian configuration management sy ii debianutils 2.15.6 Miscellaneous utilities specific t ii exim4 4.61-1 metapackage to ease exim MTA (v4) ii exim4-daemon-light [mai 4.61-1 lightweight exim MTA (v4) daemon ii fping 2.4b2-to-ipv6-13 sends ICMP ECHO_REQUEST packets to ii librrds-perl 1.2.11-0.5 Time-series data storage and displ ii libsnmp-session-perl 1.08-1 Perl support for accessing SNMP-aw ii perl 5.8.8-4 Larry Wall's Practical Extraction ii perl-modules [libnet-pe 5.8.8-4 Core Perl modules ii speedy-cgi-perl 2.22-2 speed up perl scripts by making th Versions of packages smokeping recommends: ii apache2-mpm-worker [httpd] 2.0.55-4 high speed threaded model for Apac ii dnsutils 1:9.3.2-2 Clients provided with BIND pn libsocket6-perl <none> (no description available) -- debconf information: smokeping/upgrade-2.x-failed:
[Wed Apr 19 11:10:14 2006] [error] [client 127.0.0.1] [Wed Apr 19 11:10:14 2006] smokeping.cgi: Can't locate Smokeping.pm in @INC (@INC contains: /usr/lib/perl5/smokeping /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/lib/cgi-bin/smokeping.cgi line 7. [Wed Apr 19 11:10:14 2006] [error] [client 127.0.0.1] [Wed Apr 19 11:10:14 2006] smokeping.cgi: BEGIN failed--compilation aborted at /usr/lib/cgi-bin/smokeping.cgi line 7. [Wed Apr 19 11:10:14 2006] [error] [client 127.0.0.1] speedy_backend[12925]: perl_parse error [Wed Apr 19 11:10:15 2006] [error] [client 127.0.0.1] speedy[12923]: Cannot spawn backend process [Wed Apr 19 11:10:15 2006] [error] [client 127.0.0.1] Premature end of script headers: smokeping.cgi
--- /usr/lib/cgi-bin/smokeping.cgi~ 2006-04-19 11:07:44.000000000 +1000 +++ /usr/lib/cgi-bin/smokeping.cgi 2006-04-19 11:13:09.000000000 +1000 @@ -1,7 +1,7 @@ #!/usr/bin/speedy -w # -*-perl-*- -use lib qw(/usr/lib/perl5/smokeping); +use lib qw(/usr/share/perl5/smokeping); use CGI::Carp qw(fatalsToBrowser); use Smokeping 2.000008;