Bug 693028

Summary: Use g_get_user_cache_dir() for debug output
Product: [Community] Virtualization Tools Reporter: jmccann
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: berrange, crobinso, cschalle, faispasierch, hbrock, jforbes, virt-maint, xen-maint
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: 2013-10-01 12:29:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description jmccann 2011-04-02 05:16:38 UTC
It would be nice to use g_get_user_config_dir() instead of home directory to store configuration files.  In accordance with the XDG base directory spec.  http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html

This has a number of benefits including making it much easier to migrate data.

Comment 1 Cole Robinson 2012-02-06 22:54:20 UTC
The only thing virt-manager stores in home is debug output, so we probably want get_user_cache_dir

Comment 2 Cole Robinson 2012-05-16 15:24:55 UTC
*** Bug 821524 has been marked as a duplicate of this bug. ***

Comment 3 jmccann 2012-05-16 17:03:14 UTC
I don't think writing log files to home is a good idea either. I think we want this information to end up in the systemd journal.

Comment 4 faispasierch 2012-11-21 12:55:01 UTC
* ping

Comment 5 Cole Robinson 2012-11-27 16:34:10 UTC
(In reply to comment #4)
> * ping

If you want this to be solved quicker, please provide a patch.

I am planning of fixing this when we port to gtk3, since that will already be disruptive enough that it will be a good time to change directory locations.

Comment 6 faispasierch 2012-11-30 15:42:16 UTC
Just a question, when do you plan to port to GTK3?

Comment 7 Cole Robinson 2012-11-30 18:36:11 UTC
Most of the work is done but its not upstream yet. I'm hoping to get it upstream before the end of the year, with a release soon after.

Comment 8 faispasierch 2013-08-29 12:56:55 UTC
Is this bug still open?

Comment 9 Cole Robinson 2013-10-01 12:29:07 UTC
Fixed upstream now