Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 706430

Summary: net-vpn/tor should use CacheDirectory by default
Product: Gentoo Linux Reporter: Forza <forza>
Component: Current packagesAssignee: Anthony Basile <blueness>
Status: UNCONFIRMED ---    
Severity: normal CC: bertrand, jstein, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: www.torproject.org/docs/tor-manual-dev.html.en
Whiteboard:
Package list:
Runtime testing required: ---

Description Forza 2020-01-26 11:38:43 UTC
tor uses /var/lib/tor to store both persistent data such as fingerprint and stats, as well as cache-type data. (diff-cache, cache-* files).

It would be appropriate to move the cache data to /var/cache instead.

#/etc/tor/torrc:
DataDirectory /var/lib/tor/data
CacheDirectory /var/cache/tor


There is also a tor bug tracker issue, that lead to the CacheDirectory config option:  https://trac.torproject.org/projects/tor/ticket/22703
https://lists.torproject.org/pipermail/tor-relays/2017-November/013543.html



Reproducible: Always