[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r10433: Merge 10037:10432 into trunk, also brings in a newer trunk c (tor/trunk/debian)



Author: weasel
Date: 2007-05-31 20:42:13 -0400 (Thu, 31 May 2007)
New Revision: 10433

Modified:
   tor/trunk/debian/changelog
   tor/trunk/debian/tor.init
Log:
Merge 10037:10432 into trunk, also brings in a newer trunk changelog with no real news

Modified: tor/trunk/debian/changelog
===================================================================
--- tor/trunk/debian/changelog	2007-06-01 00:06:45 UTC (rev 10432)
+++ tor/trunk/debian/changelog	2007-06-01 00:42:13 UTC (rev 10433)
@@ -1,10 +1,23 @@
 tor (0.2.0.0-alpha-1~~pre.1) unstable; urgency=low
 
-  * svn r10063.
+  * svn r10403.
   * Forward port 06_add_compile_time_defaults.
 
- -- Peter Palfrader <weasel@xxxxxxxxxx>  Mon, 30 Apr 2007 17:00:11 +0200
+ -- Peter Palfrader <weasel@xxxxxxxxxx>  Tue, 29 May 2007 23:06:11 +0200
 
+tor (0.1.2.14-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Peter Palfrader <weasel@xxxxxxxxxx>  Fri, 25 May 2007 21:49:20 +0200
+
+tor (0.1.2.13-3) unstable; urgency=low
+
+  * Always give a shell (/bin/sh) when we use su(1) in our init script
+    (closes: #421465).
+
+ -- Peter Palfrader <weasel@xxxxxxxxxx>  Sun,  6 May 2007 14:44:11 +0200
+
 tor (0.1.2.13-2) unstable; urgency=low
 
   * In options_init_from_torrc()'s error path only config_free() options

Modified: tor/trunk/debian/tor.init
===================================================================
--- tor/trunk/debian/tor.init	2007-06-01 00:06:45 UTC (rev 10432)
+++ tor/trunk/debian/tor.init	2007-06-01 00:42:13 UTC (rev 10433)
@@ -90,9 +90,9 @@
 	fi
 
 	echo "Starting $DESC: $NAME..."
-	if ! su -c "$DAEMON --verify-config" debian-tor > /dev/null; then
+	if ! su -s /bin/sh -c "$DAEMON --verify-config" debian-tor > /dev/null; then
 		echo "ABORTED: Tor configuration invalid:" >&2
-		su -c "$DAEMON --verify-config" debian-tor >&2
+		su -s /bin/sh -c "$DAEMON --verify-config" debian-tor >&2
 		exit 1
 	fi
 
@@ -131,9 +131,9 @@
 		exit 0
 	fi
 
-	if ! su -c "$DAEMON --verify-config" debian-tor > /dev/null; then
+	if ! su -s /bin/sh -c "$DAEMON --verify-config" debian-tor > /dev/null; then
 		echo "ABORTED: Tor configuration invalid:" >&2
-		su -c "$DAEMON --verify-config" debian-tor >&2
+		su -s /bin/sh -c "$DAEMON --verify-config" debian-tor >&2
 		exit 1
 	fi
 
@@ -148,9 +148,9 @@
 	fi
 	;;
   restart)
-	if ! su -c "$DAEMON --verify-config" debian-tor > /dev/null; then
+	if ! su -s /bin/sh -c "$DAEMON --verify-config" debian-tor > /dev/null; then
 		echo "Restarting Tor ABORTED: Tor configuration invalid:" >&2
-		su -c "$DAEMON --verify-config" debian-tor >&2
+		su -s /bin/sh -c "$DAEMON --verify-config" debian-tor >&2
 		exit 1
 	fi