Tor does not output any error messages from init script's log_action_end_msg()
It has been detected by an adopter of GlobaLeaks that either GlobaLeaks either Tor does not output any error messages from init script's log_action_end_msg() .
This problem has been detected on Ubuntu Precise: root@globaLeaksXXX:/etc/init.d# uname -a Linux globaLeaksXXX 2.6.32-20-pve #1 SMP Wed May 15 08:23:27 CEST 2013 i686 i686 i386 GNU/Linux root@globaLeaksXXX:/etc/init.d# cat /etc/debian_version wheezy/sid
To test-reproduce the bug look: root@globaLeaksXXX:/etc/init.d# bash /etc/init.d/tor start
- Starting tor daemon... [ OK ] root@globaLeaksXXX:/etc/init.d# pkill -9 tor root@globaLeaksXXX:/etc/init.d# bash /etc/init.d/tor stop
- Stopping tor daemon... root@globaLeaksXXX:/etc/init.d# bash -x /etc/init.d/tor stop 2>&1 | grep log_action_end_msg
- log_action_end_msg 1 '/usr/bin/tor died: process 1653 not running; or permission denied'
As we can see, Tor is not providing the output it should: root@globaLeaksXXX:/etc/init.d# tor --version Tor version 0.2.5.10 (git-43a5f3d91e726291).
I don't know if it's a Tor bug or LSB but or Ubuntu Precise but all the software where updated to the latests version available on standard repositories of Tor: deb http://deb.torproject.org/torproject.org precise main