[Pkg-torrus-maintainers] Bug#488784: torrus-common: Authentication attempt crashes torrus when no users/acls defined
Mark Lawrence
nomad at null.net
Tue Jul 1 09:57:32 UTC 2008
Package: torrus-common
Version: 1.0.6-2
Severity: minor
After a fresh install I attempted to log in (using an
invalid/non-existent username/password) and the web browser displays an
Internal Server Error. The apache error log indicates the following:
[01-Jul-2008 11:49:10*] Cannot open database users.db: No such file or directory Successful return: 0
Argument "" isn't numeric in numeric gt (>) at /usr/share/torrus/templates/default-login.html line 19.
Argument "" isn't numeric in numeric gt (>) at /usr/share/torrus/templates/default-login.html line 19.
Argument "" isn't numeric in numeric gt (>) at /usr/share/torrus/templates/default-login.html line 23.
[01-Jul-2008 11:49:16*] Cannot open database users.db: No such file or directory Successful return: 0
[Tue Jul 01 11:49:16 2008] [error] [client 127.0.0.1] Can't call method "authenticateUser" on an undefined value at /usr/share/perl5/Torrus/Apache2Handler.pm line 142, <GEN3> line 2.\n, referer: http://localhost/torrus
Torrus::Apache2Handler should check for success opening users.db before
attempting to access methods on it, or else the package/install should
create an empty users.db.
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.21.3
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8)
Versions of packages torrus-common depends on:
ii adduser 3.102 Add and remove users and groups
ii libapache-session-perl 1.86-1 Perl modules for keeping persisten
ii libberkeleydb-perl 0.34-1+b1 use Berkeley DB 4 databases from P
ii libnet-snmp-perl 5.2.0-1 Script SNMP connections
ii libproc-daemon-perl 0.03-2 Run Perl program as a daemon proce
ii librrds-perl 1.2.27-2+b1 Time-series data storage and displ
ii libtemplate-perl 2.19-1+b1 template processing system written
ii libtimedate-perl 1.1600-5 Time and date functions for Perl
ii libxml-libxml-perl 1.66-1+b1 Perl module for using the GNOME li
ii lsb-base 3.1-23.2etch1 Linux Standard Base 3.1 init scrip
ii netbase 4.29 Basic TCP/IP networking system
ii perl 5.10.0-10 Larry Wall's Practical Extraction
ii rrdtool 1.2.27-2+b1 Time-series data storage and displ
torrus-common recommends no packages.
-- no debconf information
More information about the Pkg-torrus-maintainers
mailing list