Package: webalizer Version: 2.23.08-1+b1 Severity: normal The Debian webalizer package supplies a daily cron job which invokes webalizer with its default configuration file
${WEBALIZER} -c ${i} -Q ${NLOGFILE}; where ${i} will have the value /etc/webalizer/webalizer.conf for at least one iteration of the loop for i in ${WEBALIZER_CONFDIR}/*.conf The official Webalizer web site FAQ at <http://www.webalizer.ORG/faq.html> specifically forbids doing this in Question #11 11. My configuration file is being read twice! Do Not use '-c webalizer.conf' on the command line! This file is always read if found, regardless of any other configuration files that may be specified. If you do specify it on the command line, it will be read twice... and there is discussion of this matter in the Webalizer support group at <https://groups.yahoo.com/neo/groups/webalizer/conversations/topics/3791> dated June 26. 2011 (nearly 5 years ago) Bradford L. Barrett the creator and maintainer of webalizer: Sounds like you are having your config file read twice.. are you doing something like "-c webalizer.conf" on the command line when you run the program? If so, don't :) See the webalizer FAQ (question #11) One of the unwanted effects of having the config file read twice is that any customized content in HTMLtail and HTMLend are duplicated in the generated web page report. So please modify the webalizer daily cron job not to invoked webalizer with its default configuration file, eg if [ "${i}" = "${WEBALIZER_CONFDIR}/webalizer.conf" ] then ${WEBALIZER} -Q || continue else ${WEBALIZER} -c "${i}" -Q || continue fi in accord with the explicit instruction on how NOT TO invoke webalizer with its default configuration file, which is ALWAYS read regardless. Incidentally, why is the cron job file full of Bourne shell statements unecessarily terminated with semi-colons? A Bourne shell script doe not require terminating semi-colons as do C or PERL programs. -- System Information: Debian Release: 8.4 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: armel (armv5tel) Kernel: Linux 3.16.0-4-kirkwood Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages webalizer depends on: ii debconf [debconf-2.0] 1.5.56 ii libc6 2.19-18+deb8u4 ii libdb5.3 5.3.28-9 ii libgd3 2.1.0-5+deb8u1 ii libgeoip1 1.6.7-2~bpo8+1 ii libpng12-0 1.2.50-2+deb8u2 ii zlib1g 1:1.2.8.dfsg-2+b1 webalizer recommends no packages. Versions of packages webalizer suggests: ii lighttpd [httpd] 1.4.35-4 ii nginx-extras [httpd] 1.6.2-5+deb8u1 -- Configuration Files: /etc/cron.daily/webalizer changed [not included] /etc/webalizer/webalizer.conf.sample [Errno 2] No such file or directory: u'/etc/webalizer/webalizer.conf.sample' -- debconf information excluded