FS#76546 - [tor] Tor config changes needed for control socket access by external apps like nyx

Attached to Project: Community Packages
Opened by Tripple Moon (TriMoon) - Sunday, 13 November 2022, 09:24 GMT
Last edited by Toolybird (Toolybird) - Sunday, 13 November 2022, 20:22 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

For a full description and fixes please see
https://forum.manjaro.org/t/tor-config-changes-needed-for-control-socket-access-by-external-apps-like-nyx/126435

TLTD;
- Additions needed in `tor.service`:
```
[Service]
User=tor
Group=tor
RuntimeDirectory=tor
```

- Changes needed in `/etc/tor/torrc`
1. Comment out the line that says `User tor` at top, because Tor will barf otherwise. (or just remove it entirely)
(Tor is already started as user `tor` by systemd in this case, so Tor can’t change it’s UID/GUID again :wink:)

2. To make adjustments by the admin easier:
You should un-comment the last line in `/etc/tor/torrc` that says `%include /etc/torrc.d/*.conf` so it reads extra config snippets placed by the admin by default.
This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 13 November 2022, 20:22 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#76545 

Loading...