0

Tor used to run on arch but nowadays I get error related to a $HOME and /vra/tor being readonly:

Dec 11 19:46:53 janus tor[915774]: Dec 11 19:46:53.173 [notice] Opening Socks listener on    127.0.0.1:9050
Dec 11 19:46:53 janus tor[915774]: Dec 11 19:46:53.173 [notice] Opened Socks listener on 127.0.0.1:9050
Dec 11 19:46:53 janus tor[915774]: Dec 11 19:46:53.173 [notice] Opening DNS listener on 127.0.0.1:9053
Dec 11 19:46:53 janus tor[915774]: Dec 11 19:46:53.173 [notice] Opened DNS listener on 127.0.0.1:9053
Dec 11 19:46:53 janus tor[915774]: Dec 11 19:46:53.173 [notice] Opening OR listener on 0.0.0.0:9001
Dec 11 19:46:53 janus tor[915774]: Dec 11 19:46:53.173 [notice] Opened OR listener on 0.0.0.0:9001
Dec 11 19:46:53 janus tor[915774]: Dec 11 19:46:53.173 [notice] Opening Directory listener on 0.0.0.0:9030
Dec 11 19:46:53 janus tor[915774]: Dec 11 19:46:53.173 [notice] Opened Directory listener on 0.0.0.0:9030
Dec 11 19:46:53 janus tor[915774]: Dec 11 19:46:53.173 [warn] Error creating directory /var/tor: Read-only file system
Dec 11 19:46:53 janus tor[915774]: Dec 11 19:46:53.173 [notice] Closing partially-constructed Socks listener on 127.0.0.1:9050
Dec 11 19:46:53 janus tor[915774]: Dec 11 19:46:53.173 [notice] Closing partially-constructed DNS listener on 127.0.0.1:9053
Dec 11 19:46:53 janus tor[915774]: Dec 11 19:46:53.173 [notice] Closing partially-constructed OR listener on 0.0.0.0:9001
Dec 11 19:46:53 janus tor[915774]: Dec 11 19:46:53.173 [notice] Closing partially-constructed Directory listener on 0.0.0.0:9030
Dec 11 19:46:53 janus tor[915774]: Dec 11 19:46:53.173 [warn] Failed to parse/validate config: Couldn't create private data directory "/var/tor"
Dec 11 19:46:53 janus tor[915774]: Dec 11 19:46:53.173 [err] Reading config failed--see warnings above.
Dec 11 19:46:53 janus systemd[1]: tor.service: Main process exited, code=exited, status=1/FAILURE

How do I configure tor to run on archlinux? this is my current config:

Log notice syslog
#Log info file /var/log/tor/info.log

ORPort 9051
DNSPort 9053   # blocked by ISP
DirPort 9030

RelayBandwidthRate 16MB
RelayBandwidthBurst 32MB

AutomapHostsOnResolve 1
AutomapHostsSuffixes .exit,.onion

SocksPolicy accept 192.168.111.0/27
SocksPolicy reject *

Your Answer

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

Browse other questions tagged or ask your own question.