Re: [libvirt] [PATCH v2 3/3] qemu: command: Override HOME variable for system QEMU

2019-03-15 Thread Daniel P . Berrangé
On Fri, Mar 08, 2019 at 01:00:49PM +0100, Erik Skultety wrote: > By default, qemu user's home dir points to '/' which shouldn't be used > at all. We therefore pass the HOME variable from the current variable > iff not running as SUID, which means that for systemd we never set it. > This patch makes

[libvirt] [PATCH v2 3/3] qemu: command: Override HOME variable for system QEMU

2019-03-08 Thread Erik Skultety
By default, qemu user's home dir points to '/' which shouldn't be used at all. We therefore pass the HOME variable from the current variable iff not running as SUID, which means that for systemd we never set it. This patch makes sure, that for system QEMU this is always set to libDir/, session mode