SETCONF can't create a hidden service if the directory doesn't exist
Hi Nick, a couple weeks ago Stem's integ tests started failing. Trouble looks to be commit 85bfad1. When the tests do...
SETCONF HiddenServiceDir="test_hidden_service_empty/"
HiddenServiceDir="test_hidden_service1/"
HiddenServicePort="8020 127.0.0.1:8020"
HiddenServicePort="8021 127.0.0.1:8021"
HiddenServiceVersion="2"
HiddenServiceDir="test_hidden_service2/"
HiddenServicePort="8030 127.0.0.1:8030"
HiddenServicePort="8031 127.0.0.1:8031"
HiddenServicePort="8032 127.0.0.1:8032"
HiddenServiceAuthorizeClient="stealth a, b"
(newlines and whitespace added for readability)
Tor previously worked, but after the commit balks with...
Dec 21 11:59:36.000 [warn] Directory test_hidden_service2/ does not exist.
Dec 21 11:59:36.000 [warn] Controller gave us config lines that didn't validate: Failed to configure rendezvous options. See logs for details.
In my case the directory owner and tor's user are the same, so there wasn't any permission issues.