[Pkg-awstats-devel] Bug#572353: given some -config=custom should fail/report if they fail to read /etc/awstats.custom.conf

Yaroslav Halchenko debian at onerussian.com
Wed Mar 3 16:43:52 UTC 2010


Package: awstats
Version: 6.7.dfsg-5.1
Severity: normal

uff... costed me quite a few minutes to figure out what was the issue.

I was trying to config multi-site setup to generate static pages.  When I
followed instructions and created /etc/awstats/awstats.custom.conf and then ran
awstats.pl -config=custom, it didn't spit out any warning/error but said that
it read /etc/awstats/awstats.conf and /etc/awstats/awstats.conf.local and
nothing about custom.  Even in debug=1 no error of any kind was reported...

the issue was -- file was there, BUT with permissions disallowing for the user
I was executing awstats.pl to read it...  So, reasonable software, provided a
specific configuration file should puke an error and fail if it fails to read
that file -- not just "go on" without any mentioining of a problem.


-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages awstats depends on:
ii  perl [libtime-hires-perl 5.10.0-19lenny2 Larry Wall's Practical Extraction 

Versions of packages awstats recommends:
ii  libnet-xwhois-perl            0.90-3     Whois Client Interface for Perl5

Versions of packages awstats suggests:
ii  apache2-mpm-prefork [htt 2.2.9-10+lenny6 Apache HTTP Server - traditional n
pn  libgeo-ipfree-perl       <none>          (no description available)
ii  libnet-dns-perl          0.63-2          Perform DNS queries from a Perl sc
ii  libnet-ip-perl           1.25-2          Perl extension for manipulating IP

-- debconf-show failed





More information about the Pkg-awstats-devel mailing list