Package: tor Version: 0.2.3.25-1 Severity: wishlist Hi,
According to the Tor prioritization script at https://gitweb.torproject.org/tor.git/blob/HEAD:/contrib/linux-tor-prio.sh UID-based prioritization requires that Tor be started using a specific user ID instead of relying on the User configuration setting. /etc/init.d/tor appears to start Tor as root and rely on the User configuration setting to change the user ID to debian-tor. The following patch modifies /etc/init.d/tor so that Tor is started using the debian-tor account, which should allow the script to work. -- Matt diff --git a/debian/tor.init b/debian/tor.init index 91f776d..a55bd7d 100644 --- a/debian/tor.init +++ b/debian/tor.init @@ -154,6 +154,7 @@ case "$1" in fi if start-stop-daemon --start --quiet \ --pidfile $TORPID \ + --user debian-tor \ $NICE \ $AA_EXEC \ --exec $DAEMON -- $AA_EXEC_ARGS $DEFAULT_ARGS $ARGS -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org