[Popcon-commits] cvs commit to popularity-contest/debian by pere

popcon-commits@lists.alioth.debian.org popcon-commits@lists.alioth.debian.org
Mon, 29 Sep 2003 23:33:50 +0200


Update of /cvsroot/popcon/popularity-contest/debian
In directory quantz:/tmp/cvs-serv16234/debian

Modified Files:
	changelog cron.weekly 
Log Message:
Set HOME to an existing directory before running /usr/sbin/popularity-contest, to avoid access problems to ~root/. (Closes: #212013)

Index: changelog
===================================================================
RCS file: /cvsroot/popcon/popularity-contest/debian/changelog,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- changelog	14 Sep 2003 12:26:41 -0000	1.8
+++ changelog	29 Sep 2003 21:33:48 -0000	1.9
@@ -1,3 +1,11 @@
+popularity-contest (1.5) unstable; urgency=low
+
+  * Set HOME to an existing directory before running
+    /usr/sbin/popularity-contest, to avoid access problems to ~root/. (Closes:
+    #212013)
+
+ -- Petter Reinholdtsen <pere@debian.org>  Mon, 29 Sep 2003 23:32:01 +0200
+
 popularity-contest (1.4) unstable; urgency=low
 
   * Petter Reinholdtsen

Index: cron.weekly
===================================================================
RCS file: /cvsroot/popcon/popularity-contest/debian/cron.weekly,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- cron.weekly	7 Sep 2003 17:27:27 -0000	1.1.1.1
+++ cron.weekly	29 Sep 2003 21:33:48 -0000	1.2
@@ -33,7 +33,8 @@
 	echo "To: $MAILTO"
 	echo "Subject: popularity-contest submission"
 	echo
-	su nobody -pc "sh -c /usr/sbin/popularity-contest"
+	# Set HOME to avoid bug #212013.
+	HOME=/tmp su nobody -pc "sh -c /usr/sbin/popularity-contest"
 }
 
 do_sendmail()