[tor-relays] experiences with debian tor 0.2.8.6 package from deb.torproject.org

tor relay torrelay3 at mailbox.org
Fri Aug 5 10:19:54 UTC 2016


> 
>     Why this hack (disable a service by moving away its config) and not the more clean approach like the one take by the RPM maintainer?
> 

 ..that allows one to manage (start/stop/enable/disable) each service separately using standard tools and methodologies (and not service specific ways like "if you want to disable it you have to move away its configuration file).

Simply moving away its configuration file will cause unnecessary logs since systemd will attempt to start tor.service every time:

Unable to open configuration file "/etc/tor/torrc".

[err] Reading config failed--see warnings above.

tor at default.service: control process exited, code=exited status=1
Failed to start Anonymizing overlay network for TCP.
Unit tor at default.service entered failed state.
tor at default.service start request repeated too quickly, refusing to start.
Failed to start Anonymizing overlay network for TCP.
Unit tor at default.service entered failed state.


If one monitors log for [err] log level events this isn't nice.


Also: you can not start/stop/restart tor.service separately without leaving all other tor instances untouched.


Please consider the RPM maintainer's approach, thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-relays/attachments/20160805/1a8d1077/attachment.html>


More information about the tor-relays mailing list