This is related to the above post. Running tor with -f /etc/tor/torrc works fine, but it breaks the systemctl service when ClientOnionAuthDir is added to

edit: I have tried changing the ownership of the file. I also tried changing user and other things in the launch options of /lib/systemd/system/tor@*. It makes no difference.

1 Answer 1


Answered in bitcoin thread.

It was a permissions problem for the service. The folder and file needed to be authored by -u debian-tor otherwise it would not work.

The commands i used:

sudo -u debian-tor mkdir /var/lib/tor/onion-auth; sudo vim /var/lib/tor/onion-auth/x1.auth_private

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.