Your message dated Sat, 07 Aug 2010 03:47:08 +0000
with message-id <[email protected]>
and subject line Bug#580702: fixed in awstats 6.9.5~dfsg-4
has caused the Debian Bug report #580702,
regarding awstats: Improvement to documentation of logfile permissions and 
suggest locking
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
580702: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=580702
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: awstats
Version: 6.9.5~dfsg-2
Severity: wishlist
Tags: patch


Attached are some additions to the README.Debian file explaining in
more detail how to change the permissions of Apache log files and
recommendations for /etc/logrotate.d/apache2 and EnableLockForUpdate.

-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (500, 'stable'), (50, 'unstable')
Architecture: i386 (i686)

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

Versions of packages awstats depends on:
ii  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:
pn  apache2 | httpd            <none>        (no description available)
pn  libgeo-ipfree-perl         <none>        (no description available)
pn  libnet-dns-perl            <none>        (no description available)
pn  libnet-ip-perl             <none>        (no description available)
ii  liburi-perl                1.35.dfsg.1-1 Manipulates and accesses URI strin

-- no debconf information
>From 9ec6cd3775c74ec57ab2474b6a347b05fbe88f98 Mon Sep 17 00:00:00 2001
From: Ken Neighbors <[email protected]>
Date: Tue, 27 Apr 2010 15:05:12 -0700
Subject: Improve documentation of logfile permissions and suggest
 EnableLockForUpdate=1.

---
 debian/README.Debian |   31 ++++++++++++++++++++++---------
 1 files changed, 22 insertions(+), 9 deletions(-)

diff --git a/debian/README.Debian b/debian/README.Debian
index b3ea45b..94fff06 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -7,16 +7,16 @@ Quick'n'dirty setup
 Do the following for a simple setup of a single website with Apache 2.x:
 
   * Edit /etc/logrotate.d/apache2 to permit www-data access to logfiles
-  * copy /usr/share/doc/awstats/examples/apache.conf to /etc/apache2/conf.d/
-  * copy /usr/share/doc/awstats/examples/awstats.default.conf to /etc/awstats/
-  * edit /etc/default/awstats to enable nightly build of static html reports
+  * Copy /usr/share/doc/awstats/examples/apache.conf to /etc/apache2/conf.d/
+  * Copy /usr/share/doc/awstats/examples/awstats.default.conf to /etc/awstats/
+  * Edit /etc/default/awstats to enable nightly build of static html reports
 
 The above is _NOT_ supported or recommended! Please read the rest of this
 document instead...
 
 
-No stats are generated
-----------------------
+No stats are generated due to logfile permissions
+-------------------------------------------------
 
 As AWStats is used both as a CGI-script and offline, it is by default run as
 uid=www-data in cron jobs so that generated files are accessible from CGI as
@@ -24,8 +24,10 @@ well.
 By default Apache stores (since version 1.3.22-1) logfiles with uid=root and
 gid=adm, so you need to either...
 
- 1) Change the rights of the logfiles in /etc/logrotate.d/apache2 so that
-    www-data has at least read access.
+ 1) Change the rights of the logfiles so that www-data has at least read
+    access.  For example:
+    change line in /etc/logrotate.d/apache2 to: "create 644 root adm"
+    change permissions of existing files: chmod 644 /var/log/apache2/*.log
 
  2) As 1) but change to a specific user, and use the suEXEC feature of Apache
     to run as same user (and either change the right of /var/lib/awstats as
@@ -47,8 +49,19 @@ By default AWStats scans logfiles each 10 minutes. When 
Apache (and
 other webservers) rotate their logfiles, the last entries in the old
 logfile may not have been read by AWStats.
 
-Make sure to run AWStats right _before_ web logs are rotated (add a
-"prerotate" in /etc/logrotate.d/apache2 for Apache).
+Make sure to run AWStats right _before_ web logs are rotated.  For
+example, insert the following lines in /etc/logrotate.d/apache2:
+
+       prerotate
+               if [ -x /usr/share/awstats/tools/update.sh ]; then
+                       su - -c /usr/share/awstats/tools/update.sh www-data
+               fi
+       endscript
+
+Also consider enabling lock files in /etc/awstats/awstats.conf.local
+with EnableLockForUpdate=1 so that only one AWStats update process is
+running at a time.  This will reduce system resources especially if
+the AWStats update process takes longer than 10 minutes to complete.
 
 
 The icons are missing
-- 
1.5.6.5


--- End Message ---
--- Begin Message ---
Source: awstats
Source-Version: 6.9.5~dfsg-4

We believe that the bug you reported is fixed in the latest version of
awstats, which is due to be installed in the Debian FTP archive:

awstats_6.9.5~dfsg-4.debian.tar.gz
  to main/a/awstats/awstats_6.9.5~dfsg-4.debian.tar.gz
awstats_6.9.5~dfsg-4.dsc
  to main/a/awstats/awstats_6.9.5~dfsg-4.dsc
awstats_6.9.5~dfsg-4_all.deb
  to main/a/awstats/awstats_6.9.5~dfsg-4_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonas Smedegaard <[email protected]> (supplier of updated awstats package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 06 Aug 2010 23:26:53 -0400
Source: awstats
Binary: awstats
Architecture: source all
Version: 6.9.5~dfsg-4
Distribution: unstable
Urgency: low
Maintainer: Debian AWStats Team <[email protected]>
Changed-By: Jonas Smedegaard <[email protected]>
Description: 
 awstats    - powerful and featureful web server log analyzer
Closes: 275491 575545 580699 580702 582602 582861 590947
Changes: 
 awstats (6.9.5~dfsg-4) unstable; urgency=low
 .
   [ Jonas Smedegaard ]
   * Fix bashism in buildstatic.sh.
     Closes: bug#582861.
   * Recommend versions of coreutils supporting mktemp --tmpdir.
     Closes: bug#582602, thanks to Vincent Danjean.
 .
   [ Andreas Henriksson ]
   * Remove myself from uploaders.
 .
   [ Sergey B Kirpichev ]
   * Install logresolvemerge.pl in tools.
     Closes: bug#275491.
   * Change order of configs parsing in update.sh and buildstatic.sh.
     Closes: bug#580699, thanks to Ken Neighbors.
   * Improve documentation.  Logfile permissions, EnableLockForUpdate
     option, setup for multiple sites.
     Closes: bug#580702, thanks to Ken Neighbors.
   * Prevent nested includes from being prematurely closed.
     Closes: bug#575545, thanks to Ken Neighbors.
   * Rephrase steps needed for apache.conf installation.
     Closes: bug#590947.
Checksums-Sha1: 
 394c3c81f90bc4da321c99dd426993282c7a8bef 2025 awstats_6.9.5~dfsg-4.dsc
 8f1dc80c7c6bdac98723b2da4ab701b2905814ff 40346 
awstats_6.9.5~dfsg-4.debian.tar.gz
 ec9ab1276a216b4f90be2bac0be4d2e886a2a15d 988688 awstats_6.9.5~dfsg-4_all.deb
Checksums-Sha256: 
 acfe77d19196ed7ce4cd4671de1a7328b6e18df9284af14f3e07ab18eea7ce14 2025 
awstats_6.9.5~dfsg-4.dsc
 e705f79a87a364c8c4b68b6470337d12b3519dd6e20dc46a4580c2282c462761 40346 
awstats_6.9.5~dfsg-4.debian.tar.gz
 877c820c3f2364272be8bd88cfe7625a16643de83b2ae21eec243d34222c09de 988688 
awstats_6.9.5~dfsg-4_all.deb
Files: 
 ea88eb7012eed5495ecbf4ab094b9f6f 2025 web optional awstats_6.9.5~dfsg-4.dsc
 ffc3e201a61fcfd2fc726da30e167df8 40346 web optional 
awstats_6.9.5~dfsg-4.debian.tar.gz
 c6a578a3a4e308f91f3506d775189a38 988688 web optional 
awstats_6.9.5~dfsg-4_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCgAGBQJMXNSlAAoJECx8MUbBoAEhdi0P/A7Op14cK7avO2X/qmMkhAiD
hA0RsbKJxcOD+FEriMz6Cyt9T5otiJR37WYU3MyXwZ8tDIYvpk/5JLrFVmcOKKxP
SFnFckb9F1vk8yrFhiW5az44FZSGrutnikIAptBrXdJPk8BrYSYvPJbLSo6e3NdW
e9T6fad3lOXqt5bjipvJhVAsMLqw3yL+Y3ArSMgo+J6+0nywAJUunpb4OLXbhl00
6C+0szIMTrAbatrJWQfYph/fyF04Em9VZas6ghiMhUcUM81GGF7dyLceZKlPYCvr
keas7/93AjAKDhMUcaqGuBNHV2QxRpmbiX9KctpBdtB15Byzkl754uwNbMfVhKOb
rgbCiuzQ6V+68bvB+2Pey5sd2am6BxCcfWG0pbTS8D4Rp95rjBqKupEby67cUSIr
uRZOgxEY/Sw08Z3Af0vJGXCA4WF9PH89T/KLBKoIABG4/Qra6N8DcpcFvFlBMD/3
e9iMu47rm4YrXJ2eIhjwnVgfZdOLpDgiEMVnzGp/ywVcI6KHQxI35op9uZps+2u/
Bpp6YtZdWkfmDB6wPI6fPttoKsUr3Y80WvdbApZ3AGQk9Cjl0GuhtZJPDVforsZc
mhVfc8t4pQ7MKhNvNs6bIEIzo3ZRGA6pGkoS68V0+hnyXiqh/41qnjLIMV9ilJyu
aUnriE5g4/6bUf7u5Mxd
=7/3w
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to