[Popcon-developers] Bug#331438: marked as done (wrong usage of "su"
in /etc/cron.weekly/popularity-contest)
Debian Bug Tracking System
owner at bugs.debian.org
Sat Jan 14 09:33:16 UTC 2006
Your message dated Sat, 14 Jan 2006 01:17:07 -0800
with message-id <E1ExhX1-0004eb-R9 at spohr.debian.org>
and subject line Bug#331438: fixed in popularity-contest 1.32
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)
--------------------------------------
Received: (at submit) by bugs.debian.org; 3 Oct 2005 13:52:00 +0000
>From evil at g-house.de Mon Oct 03 06:52:00 2005
Return-path: <evil at g-house.de>
Received: from ns2.g-housing.de (mail.g-house.de) [81.169.133.75]
by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
id 1EMQjX-0006QK-00; Mon, 03 Oct 2005 06:52:00 -0700
Received: from g1e68.g.pppool.de ([80.185.30.104] helo=mail.housecafe.de)
by mail.g-house.de with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32)
(Exim 4.50)
id 1EMQjq-0005GR-JU; Mon, 03 Oct 2005 15:52:18 +0200
Received: from evil by mail.housecafe.de with local (Exim 4.53)
id 1EMQWr-0000Zh-ID; Mon, 03 Oct 2005 15:38:53 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Christian Kujau <evil at g-house.de>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: wrong usage of "su" in /etc/cron.weekly/popularity-contest
X-Mailer: reportbug 3.17
Date: Mon, 03 Oct 2005 15:38:53 +0200
Message-Id: <E1EMQWr-0000Zh-ID at mail.housecafe.de>
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-5.3 required=4.0 tests=BAYES_00,HAS_PACKAGE,
SUBJ_HAS_UNIQ_ID autolearn=no version=2.60-bugs.debian.org_2005_01_02
Package: popularity-contest
Version: 1.31
Severity: normal
Tags: patch
invoking /etc/cron.weekly/popularity-contest fails with:
"sh: - : invalid option". looking into the script, line 34 tries to "su"
to nobody and executes /usr/sbin/popularity-contest. the following patch
should speak for itself:
--- /etc/cron.weekly/popularity-contest.orig 2005-10-03 15:30:04.821775208 +0200
+++ /etc/cron.weekly/popularity-contest 2005-10-03 15:33:25.158908688 +0200
@@ -31,7 +31,7 @@
run_popcon()
{
# Set HOME to avoid bug #212013.
- HOME=/tmp su nobody -pc "sh -c /usr/sbin/popularity-contest"
+ HOME=/tmp su -pc "sh -c /usr/sbin/popularity-contest" nobody
}
do_sendmail()
thank you for your time,
Christian.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.2
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages popularity-contest depends on:
ii debconf [debconf-2.0] 1.4.58 Debian configuration management sy
ii dpkg 1.13.11.0.1 package maintenance system for Deb
Versions of packages popularity-contest recommends:
ii cron 3.0pl1-91 management of regular background p
ii exim4 4.53-1 metapackage to ease exim MTA (v4)
ii exim4-daemon-heavy [mail-tran 4.53-1 exim MTA (v4) daemon with extended
pn mime-construct <none> (no description available)
-- debconf information:
popularity-contest/hostid-failed:
* popularity-contest/participate: true
* popularity-contest/use-http: true
---------------------------------------
Received: (at 331438-close) by bugs.debian.org; 14 Jan 2006 09:20:56 +0000
>From katie at ftp-master.debian.org Sat Jan 14 01:20:56 2006
Return-path: <katie at ftp-master.debian.org>
Received: from katie by spohr.debian.org with local (Exim 4.50)
id 1ExhX1-0004eb-R9; Sat, 14 Jan 2006 01:17:07 -0800
From: Petter Reinholdtsen <pere at debian.org>
To: 331438-close at bugs.debian.org
X-Katie: $Revision: 1.65 $
Subject: Bug#331438: fixed in popularity-contest 1.32
Message-Id: <E1ExhX1-0004eb-R9 at spohr.debian.org>
Sender: Archive Administrator <katie at ftp-master.debian.org>
Date: Sat, 14 Jan 2006 01:17:07 -0800
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 10
Source: popularity-contest
Source-Version: 1.32
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.32.dsc
to pool/main/p/popularity-contest/popularity-contest_1.32.dsc
popularity-contest_1.32.tar.gz
to pool/main/p/popularity-contest/popularity-contest_1.32.tar.gz
popularity-contest_1.32_all.deb
to pool/main/p/popularity-contest/popularity-contest_1.32_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 331438 at bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Petter Reinholdtsen <pere at debian.org> (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 ftpmaster at debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sat, 14 Jan 2006 09:56:05 +0100
Source: popularity-contest
Binary: popularity-contest
Architecture: source all
Version: 1.32
Distribution: unstable
Urgency: low
Maintainer: Popularity Contest Developers <popcon-developers at lists.alioth.debian.org>
Changed-By: Petter Reinholdtsen <pere at debian.org>
Description:
popularity-contest - Vote for your favourite packages automatically
Closes: 321056 323225 325030 331438 332710 338614 340129 343688 344584 345228 347713
Changes:
popularity-contest (1.32) unstable; urgency=low
.
[Petter Reinholdtsen]
* Add variable mirrorbase to popanal.py, to make it easier to set up
a new server.
* Remove listing email as the transport method in the package
description, and make the description independent of the method
used. This reflect the new HTTP transport support. (Closes: #321056)
* Update the FAQ to better reflect the support for HTTP submissions.
* popcon-upload-ubuntu: Replace ubuntulinux.org with ubuntu.com. Patch
from Colin Watson and Ubuntu.
* Correct use of 'su' in cron-script. (Closes: #331438)
* Make it possible to get popcon to only report using HTTP. Patch
from Vagrant Cascadian. (Closes: #325030)
* Added debian/compat to set debhelper compatibility level to 4, and
remove debian/conffiles as it is no longer needed.
* Let popcon-submit.cgi pipe incoming reports through prepop.pl
instead of saving it directly to disk, to make sure the same
sanity checks are done for both HTTP and SMTP reports. Thanks to
Bill Allombert for pointing out the risks of the old approach.
.
[Bill Allombert]
* Fix server-side scripts to use the Packages.gz files instead of the
Packages file.
.
[Mohammed Adnène Trojette]
* Translations:
- Updated Romanian by Eddy Petrisor. (Closes: #323225)
- Updated Swedish from Daniel Nylander. (Closes: #332710)
- Updated Tagalog from Eric Pareja. (Closes: #338614)
- Updated Danish from Morten Brix Pedersen. (Closes: #340129)
- Updated Korean from Sunjae Park. (Closes: #343688)
- Updated Greek from George Papamichelakis. (Closes: #344584)
- Updated Catalan from Aleix Badia i Bosch. (Closes: #345228)
- Updated Turkish from Recai Oktas. (Closes: #347713)
.
[Christian Perrier]
* Translations:
- Added Punjabi translation by Amanpreet Singh Alam
- Updated Dutch translation by bart Cornelis
Files:
a80ca6d952ace9d36e6aa2e50789af11 654 misc optional popularity-contest_1.32.dsc
027838926eb0e4acda76c8957bc074a5 63671 misc optional popularity-contest_1.32.tar.gz
8e8439eaa9ba7c1ed00a4e8c2533c532 55104 misc optional popularity-contest_1.32_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDyL4P20zMSyow1ykRAgE3AJ9AvpwZnvhIw3M8XXHmrFsY2qh4IQCg63BT
ZzIM5c9IemAJEQzFmib42lg=
=6wJP
-----END PGP SIGNATURE-----
More information about the Popcon-developers
mailing list