[libvirt] [PATCH v2 2/3] qemu: command: Enforce setting XDG variables for system QEMU

Daniel P. Berrangé berrange at redhat.com
Fri Mar 15 10:20:39 UTC 2019


On Fri, Mar 08, 2019 at 01:00:48PM +0100, Erik Skultety wrote:
> For session mode, only XDG_CACHE_HOME is set, because we want to remain
> integrating with services in user session, but for system mode, this
> would have become reading/writing to '/' which carries the obvious issue
> with permissions (also, '/' is the wrong location in 99.9% cases anyway).
> 
> Signed-off-by: Erik Skultety <eskultet at redhat.com>
> ---
>  src/qemu/qemu_command.c | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)

Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>

(with the test cases that have been snipped)


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list