From 2b9172e981193ec132bbd69111cc4f23670e16bd Mon Sep 17 00:00:00 2001 From: "cdl+git-annex@b0d37ee10004bd40b9b1bda4c5d4eeec3bde3981" Date: Mon, 30 Dec 2019 19:25:31 +0000 Subject: [PATCH] --- doc/bugs/enable-tor_unsupported_on_osx.mdwn | 30 +++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 doc/bugs/enable-tor_unsupported_on_osx.mdwn diff --git a/doc/bugs/enable-tor_unsupported_on_osx.mdwn b/doc/bugs/enable-tor_unsupported_on_osx.mdwn new file mode 100644 index 0000000000..99cdde1d3b --- /dev/null +++ b/doc/bugs/enable-tor_unsupported_on_osx.mdwn @@ -0,0 +1,30 @@ +### Please describe the problem. + +enable-tor on an OSX box (with magic-wormhole and tor installed via brew) fails miserably. + +### What steps will reproduce the problem? + +run git-annex enable-tor - multiple fails, see details. + + +### What version of git-annex are you using? On what operating system? + +7.20191106 + +OSX 10.14.5 + +### Please provide any additional information below. + +The first failure is that enable-tor can't run as root. Instead, I call it with sudo git-annex enable-tor + +The second failure is that you try and write into /etc/tor/torrc - which is not where torrc is located on a brew installed tor - it's in /usr/local/etc/tor/torrc. I made a symlink to get around that problem. + +The third failure is a complaint about systemctl not being present. I looked in Utilities/Tor.hc and saw you were trying to call for a reload of tor. To hack around that, I wrote a script called systemctl that simply called 'brew services' with the args passed in ( brew services $1 $2 ). + +After that, I still get the error: git-annex: tor failed to create hidden service, perhaps the tor service is not running + +I have restarted tor manually, and it is indeed running. It looks like something is failing in setting up the Onion socket, but I can't see what + +### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders) + +I love it - using it to protect my photo archive now using a central special repo (rclone) for the data, and a gitlab repo for the base.