Bug 968163

Summary: [rfe] support xdg base dir spec
Product: [Fedora] Fedora Reporter: Rahul Sundaram <metherid>
Component: torAssignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: fedora, lmacken, metherid, pwouters
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-22 19:18:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Rahul Sundaram 2013-05-29 07:05:41 UTC
Description of problem:


I noticed that tor stores configuration, cache etc in ~/.tor and doesn't follow the xdg base dir spec that is a commonly adopted standard

http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
http://ploum.net/post/207-modify-your-application-to-use-xdg-folders

As a side note, either take over the orphaned EPEL packages and fix the open security holes or close the bugs reported against the package as wontfix.  they still show up when querying via 

https://bugz.fedoraproject.org/tor

Comment 1 Paul Wouters 2013-05-31 03:17:42 UTC
Thanks, I closed the massive number of tor CVE bugs that the previous maintainer never bothered to close apparently.

I have not yet looked at the issue in this bug report yet.

Comment 2 Jamie Nguyen 2013-08-26 18:32:03 UTC
Hi Rahul, I'm not sure what you mean about ~/.tor? I don't see it on my system.

Comment 3 Jamie Nguyen 2013-08-26 18:32:49 UTC
The tor service stores it's cache in /var/lib/tor by default.

Comment 4 Christian Stadelmann 2013-12-08 02:44:05 UTC
According to the torrc file:

## The directory for keeping all the keys/etc. By default, we store
## things in $HOME/.tor on Unix, and in Application Data\tor on Windows.

Comment 5 Rahul Sundaram 2013-12-08 03:13:45 UTC
Yes.  This is indeed what I see on my system

Comment 6 Jamie Nguyen 2014-03-26 18:16:40 UTC
Thanks for your bug report. I have opened a bug report in the upstream Trac instance:
https://trac.torproject.org/projects/tor/ticket/11325#ticket

Comment 7 Rahul Sundaram 2014-10-22 19:18:39 UTC
I am following up upstream.