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

2019-03-15 Thread Daniel P . Berrangé
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 permissio

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

2019-03-08 Thread Erik Skultety
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