Your message dated Sun, 11 May 2008 10:32:02 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#440493: fixed in popularity-contest 1.45
has caused the Debian Bug report #440493,
regarding popularity-contest: Fails to report using http method
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.)
--
440493: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440493
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- 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.45
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.45.dsc
to pool/main/p/popularity-contest/popularity-contest_1.45.dsc
popularity-contest_1.45.tar.gz
to pool/main/p/popularity-contest/popularity-contest_1.45.tar.gz
popularity-contest_1.45_all.deb
to pool/main/p/popularity-contest/popularity-contest_1.45_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.8
Date: Sun, 11 May 2008 12:20:19 +0200
Source: popularity-contest
Binary: popularity-contest
Architecture: source all
Version: 1.45
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: 440493 459910 466352 479664
Changes:
popularity-contest (1.45) unstable; urgency=low
.
[ Petter Reinholdtsen ]
* Fix typo in debug message emitted from prepop.pl.
.
[ Bill Allombert ]
* popcon.pl:
- revert changes introduced in 1.44.
- Use :encoding(UTF-8) instead of :utf8 when reading packages files
- Add query box linking to <http://qa.debian.org/popcon.php>
* debian/control:
- No more Recommends mime-construct. Closes: #466352.
- Recommends cron | fcron. Closes: #479664.
* Instead of reporting on Sunday, now a random day in the week is
chosen. This spread the load on the server. Closes: #440493, #459910.
Checksums-Sha1:
e5d7c96023dc3dc8d8e7989066dffc0500a440fe 903 popularity-contest_1.45.dsc
9245e40f00fc1d032e61431f8ad86b0e8e36a869 73804 popularity-contest_1.45.tar.gz
6e3449aaa7d92c3c8f7e52cb6b01fec511cea794 60576 popularity-contest_1.45_all.deb
Checksums-Sha256:
5162c45ecfd46f1466c23c94378ec96c9b97a86e575b64462a61a66621db2c34 903
popularity-contest_1.45.dsc
fa90152d2dc209e0e550b86a58f08cb757c2e46c76a9d184f7bce432f1ef27a9 73804
popularity-contest_1.45.tar.gz
a1f8305a18741ad96e009604ef6a9f2dc8efded2e2dc96c459c8fde1caa469f0 60576
popularity-contest_1.45_all.deb
Files:
0efb74fff38b7099852e3ab35432e1d2 903 misc optional popularity-contest_1.45.dsc
26d016f7fe56c1a31abd11bdffe3734e 73804 misc optional
popularity-contest_1.45.tar.gz
741bcc440f712f466a240ee8c2b3281a 60576 misc optional
popularity-contest_1.45_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFIJsji20zMSyow1ykRApO3AKDSUc3ziPdYr+MtrH2DUnEwpXz2NwCg4V7i
32HayuGx73tveFxzZ84Jg1A=
=OlLi
-----END PGP SIGNATURE-----
--- End Message ---