[libvirt] [PATCH] Use XDG Base Directories instead of storing in home

William Jon McCann william.jon.mccann at gmail.com
Mon Apr 30 18:55:06 UTC 2012


Hi,

New to the list so hopefully I'm following the correct protocol.

Attached is a patch (mostly untested at the moment) to change the
default storage location from .libvirt to the locations defined in the
XDG Base Directory Specification
(http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html).

This has a number of advantages for us:

    It allows sharing a home directory between different machines, or
sessions (eg. using NFS)
    Cleanly separates cache, runtime (eg. sockets), or app data from
user settings
    Supports performing smart or selective migration of settings
between different OS versions
    Supports reseting settings without breaking things
    Makes it possible to clear cache data to make room when the disk
is filling up
    Allows us to write a robust and efficient backup solution
    Allows an admin flexibility to change where data and settings are stored
    It dramatically reduces the complexity and incoherence of the
system for administrators

This is a pretty important set of features for both enterprise and
individual use cases.
I hope you will please consider the change.

Thanks,
Jon

PS. This is also related to a goal for upstream GNOME
https://live.gnome.org/GnomeGoals/XDGConfigFolders
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Use-XDG-Base-Directories-instead-of-storing-in-home-.patch
Type: application/octet-stream
Size: 26050 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120430/c97b2a70/attachment-0001.obj>


More information about the libvir-list mailing list