Your message dated Sun, 13 Jan 2008 13:47:09 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#459910: fixed in popularity-contest 1.43
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: popularity-contest
Version: 1.41
Severity: normal

I've been getting errors for a long time during weekly popcon runs on one
of my boxes.

>From /var/log/messages:
Aug 26 06:47:48 elrond popularity-contest: unable to submit report to 
http://popcon.debian.org/cgi-bin/popcon.cgi.
Aug 19 06:47:50 elrond popularity-contest: unable to submit report to 
http://popcon.debian.org/cgi-bin/popcon.cgi.
Aug 12 06:47:47 elrond popularity-contest: unable to submit report to 
http://popcon.debian.org/cgi-bin/popcon.cgi.
Aug  5 06:48:10 elrond popularity-contest: unable to submit report to 
http://popcon.debian.org/cgi-bin/popcon.cgi.

The fallback to mail works correctly, but it should not need to fall back to
that. I have no idea why it fails, especially since it works correctly when
I run the same script manually as root.

Could it be that the server is just getting DoSed because too many reports
are being submitted at the same time (as they are all cronned at the same time,
at least in my TZ)? Or is there something subtle that fails because it is being
run from cron?


Output from a cron run with set -x in the cron script and a -d added in the
call to popcon-upload is shown below.

+ '[' '!' -f /usr/sbin/popularity-contest ']'
+ unset MAILFROM
+ unset MAILTO
+ unset MY_HOSTID
+ unset PARTICIPATE
+ unset SUBMITURLS
+ unset USEHTTP
+ . /usr/share/popularity-contest/default.conf
++ PARTICIPATE=no
++ [EMAIL PROTECTED]
++ SUBMITURLS=http://popcon.debian.org/cgi-bin/popcon.cgi
++ USEHTTP=yes
+ . /etc/popularity-contest.conf
++ MY_HOSTID=3eb1575275db421caca3e0859d9727eb
++ PARTICIPATE=yes
++ USEHTTP=yes
+ '[' -z [EMAIL PROTECTED] ']'
+ '[' yes = no ']'
+ '[' -z yes ']'
+ cd /var/log
+ umask 022
+ savelog -c 7 popularity-contest
+ POPCON=/var/log/popularity-contest
+ run_popcon
+ su -c 'sh -c /usr/sbin/popularity-contest' nobody
+ SUBMITTED=no
+ '[' http://popcon.debian.org/cgi-bin/popcon.cgi ']'
+ '[' yes = yes ']'
+ for URL in '$SUBMITURLS'
+ RET=0
+ setsid /usr/share/popularity-contest/popcon-upload -d -u 
http://popcon.debian.org/cgi-bin/popcon.cgi -f /var/log/popularity-contest
timeout in popcon-upload
+ RET=4
+ '[' 4 = 0 ']'
+ logger -t popularity-contest 'unable to submit report to 
http://popcon.debian.org/cgi-bin/popcon.cgi (4).'
+ '[' yes '!=' no ']'
+ '[' [EMAIL PROTECTED] ']'
++ which sendmail
+ '[' -x /usr/sbin/sendmail ']'
+ '[' -n '' ']'
+ echo 'To: [EMAIL PROTECTED]'
+ echo 'Subject: popularity-contest submission'
+ echo 'MIME-Version: 1.0'
+ echo 'Content-Type: text/plain'
+ echo
+ cat /var/log/popularity-contest
+ do_sendmail
+ '[' -n '' ']'
+ sendmail -oi [EMAIL PROTECTED]
+ SUBMITTED=yes
+ '[' yes '!=' yes ']'


Same output when run manually from a shell (as root).

# /etc/cron.weekly/popularity-contest
+ '[' '!' -f /usr/sbin/popularity-contest ']'
+ unset MAILFROM
+ unset MAILTO
+ unset MY_HOSTID
+ unset PARTICIPATE
+ unset SUBMITURLS
+ unset USEHTTP
+ . /usr/share/popularity-contest/default.conf
++ PARTICIPATE=no
++ [EMAIL PROTECTED]
++ SUBMITURLS=http://popcon.debian.org/cgi-bin/popcon.cgi
++ USEHTTP=yes
+ . /etc/popularity-contest.conf
++ MY_HOSTID=3eb1575275db421caca3e0859d9727eb
++ PARTICIPATE=yes
++ USEHTTP=yes
+ '[' -z [EMAIL PROTECTED] ']'
+ '[' yes = no ']'
+ '[' -z yes ']'
+ cd /var/log
+ umask 022
+ savelog -c 7 popularity-contest
+ POPCON=/var/log/popularity-contest
+ run_popcon
+ su -c 'sh -c /usr/sbin/popularity-contest' nobody
+ SUBMITTED=no
+ '[' http://popcon.debian.org/cgi-bin/popcon.cgi ']'
+ '[' yes = yes ']'
+ for URL in '$SUBMITURLS'
+ RET=0
+ setsid /usr/share/popularity-contest/popcon-upload -d -u 
http://popcon.debian.org/cgi-bin/popcon.cgi -f /var/log/popularity-contest
+ '[' 0 = 0 ']'
+ SUBMITTED=yes
+ '[' yes '!=' yes ']'
+ '[' yes '!=' yes ']'

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages popularity-contest depends on:
ii  debconf [debconf-2.0]         1.5.11     Debian configuration management sy
ii  dpkg                          1.13.25    package maintenance system for Deb

Versions of packages popularity-contest recommends:
ii  cron                          3.0pl1-100 management of regular background p
ii  exim4                         4.63-17    metapackage to ease exim MTA (v4) 
ii  exim4-daemon-light [mail-tran 4.63-17    lightweight exim MTA (v4) daemon
pn  mime-construct                <none>     (no description available)

-- debconf information:
  popularity-contest/submiturls:
  popularity-contest/hostid-failed:
* popularity-contest/participate: true


--- End Message ---
--- Begin Message ---
Source: popularity-contest
Source-Version: 1.43

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

popularity-contest_1.43.dsc
  to pool/main/p/popularity-contest/popularity-contest_1.43.dsc
popularity-contest_1.43.tar.gz
  to pool/main/p/popularity-contest/popularity-contest_1.43.tar.gz
popularity-contest_1.43_all.deb
  to pool/main/p/popularity-contest/popularity-contest_1.43_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.
Petter Reinholdtsen <[EMAIL PROTECTED]> (supplier of updated popularity-contest 
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: SHA1

Format: 1.7
Date: Sun, 13 Jan 2008 14:32:32 +0100
Source: popularity-contest
Binary: popularity-contest
Architecture: source all
Version: 1.43
Distribution: unstable
Urgency: low
Maintainer: Popularity Contest Developers <[EMAIL PROTECTED]>
Changed-By: Petter Reinholdtsen <[EMAIL PROTECTED]>
Description: 
 popularity-contest - Vote for your favourite packages automatically
Closes: 327693 365681 422031 429405 431535 431867 440493 445532 457432 457441 
459910
Changes: 
 popularity-contest (1.43) unstable; urgency=low
 .
   [ Christian Perrier ]
   * Translations:
     - Kannada added. Closes: #422031
     - Hebrew updated. Closes: #445532
 .
   [ Bill Allombert ]
   * Remove popcon-upload-ubuntu and popcon-submit-ubuntu.cgi, dropped
     by Ubuntu.
   * popularity-contest used files regexp:
     - add support for php scripts
     - Add missing $ after .pm. Closes: #431535, Thanks Gerfried Fuchs.
   * cron.weekly, function run_popcon():
     - remove spurious 'sh -c'
     - add -s /bin/sh in case nobody has no shell. Closes: #429405, #431867.
   * cron.weekly, default.conf, FAQ:
     - Add support for HTTP_PROXY. Closes: #365681.
   * Apply patch from Johan Walles to treat all mapped files as recently used
     (which they obviously are).  Closes: #457441, #327693.
 .
   [ Petter Reinholdtsen ]
   * Add code in cron.weekly to sleep a random period of time up to an
     hour, to make sure all clients do not connect at the same time.
     Closes: #440493, #459910.
   * Updated standards-version from 3.7.2 to 3.7.3.  No change needed.
   * Include files in subdirectories under */lib/, to avoid files
     updated by ldconfig while still counting such packages as used
     (Closes: #457432)
   * Move homepage URL to the new Homepage control file tag.
Files: 
 ffd6ddb7f9cc458219b93c70238533ba 685 misc optional popularity-contest_1.43.dsc
 626ece4abef3fa1c4bd7bbdcb8a6257b 73047 misc optional 
popularity-contest_1.43.tar.gz
 4ddf153233e31c1f7d65489f1c75b4a7 59862 misc optional 
popularity-contest_1.43_all.deb

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

iD8DBQFHihMr20zMSyow1ykRAseCAKCjJBKcCrRZAxnaNptYcrlEogHVIACgq5uf
OvDW0xNniNrPARYWrwxxKU4=
=xdWn
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to