Hi folks,
I'm wondering if anyone is facing this. I compile Tor from Slackbuilds.org on Slackware current, Tor works fine until reboot the system, the PID file always disappears (and the
/var/run/tor directory too). Trying to launch rundeck I see the following error on
/var/log/tor/tor.log:
Code:
Oct 17 12:20:52.000 [warn] Unable to open "/var/run/tor/tor.pid" for writing: No such file or directory
Oct 17 12:20:52.000 [err] Unable to write PIDFile "/var/run/tor/tor.pid"
So, as a dirty workaround, I created the file before start Tor on
rc.local init script "manually" in the following way:
Code:
# Tor.
if [ -x /etc/rc.d/rc.tor ]; then
# slackware current pid workaround.
if [ ! -f /var/run/tor/tor.pid ]; then
mkdir /var/run/tor
touch /var/run/tor/tor.pid
chown -R tor:tor /var/run/tor/
fi
# now start tor
/etc/rc.d/rc.tor start
fi
This works OK but it's just a workaround, would be ideal that works without this manual file creation. Any thoughts about this?
Thanks in advance.