[Popcon-developers] Bug#346445: patch for this bug

Stephen Gran sgran at debian.org
Sun Jan 8 12:45:03 UTC 2006


Package: popularity-contest
Version: 1.31
Followup-For: Bug #346445

This fixes the change in su's behavior for me.

Thanks,

--- popularity-contest~ 2006-01-08 12:41:28.000000000 +0000
+++ popularity-contest  2006-01-08 12:42:20.000000000 +0000
@@ -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 -p - nobody -c /usr/sbin/popularity-contest
 }

 do_sendmail()


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686-smp
Locale: LANG=C, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15) (ignored: LC_ALL set to en_US.ISO-8859-15)

Versions of packages popularity-contest depends on:
ii  debconf [debconf-2.0]        1.4.67      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-92  management of regular background p
ii  exim4-daemon-light [mail-tran 4.60-1     lightweight exim MTA (v4) daemon
pn  mime-construct                <none>     (no description available)

-- debconf information:
* popularity-contest/participate: true
  popularity-contest/hostid-failed:
* popularity-contest/use-http: false

-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        sgran at debian.org |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/popcon-developers/attachments/20060108/0423810e/attachment.pgp


More information about the Popcon-developers mailing list