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

Jonas Smedegaard dr at jones.dk
Wed Mar 3 17:19:44 UTC 2010


Hi Yaroslav,

On Wed, Mar 03, 2010 at 11:43:52AM -0500, Yaroslav Halchenko wrote:
>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.

Thanks a lot for reporting this!

Could you be persuaded to dig one step deeper and try locate where it 
does not fail properly?  I imagine (without looking at the code at all) 
that it is simply a shell script which needs a "set -e" somewhere...


Kind regards,

  - Jonas


-- 
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

  [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-awstats-devel/attachments/20100303/fa2be363/attachment.pgp>


More information about the Pkg-awstats-devel mailing list