[Bug 1822672] Re: popularity-contest is broken due to a bad merge with debian

Brian Murray brian at ubuntu.com
Tue Sep 24 15:37:53 UTC 2019


This looks like the change that should have been kept when merging the
package with Debian:

--- popularity-contest-1.65ubuntu1/default.conf	2017-06-19 09:52:51.000000000 +0000
+++ popularity-contest-1.66ubuntu1/default.conf	2018-02-22 05:10:35.000000000 +0000
@@ -24,7 +24,7 @@
 # popcon.debian.org.
 #
 KEYRING="/usr/share/popularity-contest/debian-popcon.gpg"
-POPCONKEY="4383FF7B81EEE66F"
+POPCONKEY="3F28C7EC54D00227C397BC7A1EA34EFBE7FD7002"
 
 # MAILTO specifies the address to e-mail statistics to each week.
 #
@@ -46,7 +46,7 @@
 
 # SUBMITURLS is a space separated list of where to submit
 # popularity-contest reports using http.
-SUBMITURLS="http://popcon.ubuntu.com/popcon-submit.cgi"
+SUBMITURLS="https://popcon.ubuntu.com/popcon-submit.cgi"

** Summary changed:

- popularity-contest is probably broken
+ popularity-contest is broken due to a bad merge with debian

** Tags added: regression-release rls-ee-incoming

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to popularity-contest in Ubuntu.
https://bugs.launchpad.net/bugs/1822672

Title:
  popularity-contest is broken due to a bad merge with debian

Status in popularity-contest package in Ubuntu:
  Confirmed

Bug description:
  I was curious how statistics are submitted by popularity-contest, so I
  checked:

  marc at ellen:~$ sudo bash -x /etc/cron.daily/popularity-contest 
  […]
  + for URL in $SUBMITURLS
  + setsid /usr/share/popularity-contest/popcon-upload -u https://popcon.ubuntu.com/popcon-submit.cgi -f /var/log/popularity-contest.new -C
  + logger -t popularity-contest 'unable to submit report to https://popcon.ubuntu.com/popcon-submit.cgi.'
  […]

  When run manually, the error is:

  marc at ellen:~$ /usr/share/popularity-contest/popcon-upload -u https://popcon.ubuntu.com/popcon-submit.cgi -f /var/log/popularity-contest.new -C -d
  Unable to parse url
  Expected 'PeerHost' at /usr/share/popularity-contest/popcon-upload line 75.

  The URL https://popcon.ubuntu.com/popcon-submit.cgi is set in
  /usr/share/popularity-contest/default.conf

  I noticed that /usr/share/popularity-contest/popcon-upload contains
  hardcoded sequences of "http:", so I tried to manually run popcon-
  upload with "-u http://popcon.ubuntu.com/popcon-submit.cgi". Turns
  out, it works:

  marc at ellen:~$ /usr/share/popularity-contest/popcon-upload -u
  http://popcon.ubuntu.com/popcon-submit.cgi -f /var/log/popularity-
  contest.new -C -d

  I suppose this is globally broken since the URL was changed to https,
  but the script was not updated to support https.

  ProblemType: Bug
  DistroRelease: Ubuntu 19.04
  Package: popularity-contest 1.67ubuntu2
  ProcVersionSignature: Ubuntu 5.0.0-8.9-generic 5.0.1
  Uname: Linux 5.0.0-8-generic x86_64
  ApportVersion: 2.20.10-0ubuntu23
  Architecture: amd64
  CurrentDesktop: LXQt
  Date: Mon Apr  1 21:10:33 2019
  InstallationDate: Installed on 2016-01-20 (1166 days ago)
  InstallationMedia: Xubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
  PackageArchitecture: all
  SourcePackage: popularity-contest
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/popularity-contest/+bug/1822672/+subscriptions



More information about the foundations-bugs mailing list