Re: [libvirt] [PATCH v2 1/2] m4: Run QEMU under a distro-specific user when possible

2019-03-26 Thread Andrea Bolognani
On Tue, 2019-03-26 at 16:20 +, Daniel P. Berrangé wrote: > On Tue, Mar 26, 2019 at 05:06:15PM +0100, Andrea Bolognani wrote: > > +# Try to integrate gracefully with downstream packages by running QEMU > > +# processes under the same user and group they would > > +case $(grep ^ID=

Re: [libvirt] [PATCH v2 1/2] m4: Run QEMU under a distro-specific user when possible

2019-03-26 Thread Daniel P . Berrangé
On Tue, Mar 26, 2019 at 05:06:15PM +0100, Andrea Bolognani wrote: > Our current defaults are root:wheel on FreeBSD and macOS, root:root > everywhere else. > > Looking at what downstream distributions actually do, we can see that > these defaults are overriden the vast majority of the time, with a

[libvirt] [PATCH v2 1/2] m4: Run QEMU under a distro-specific user when possible

2019-03-26 Thread Andrea Bolognani
Our current defaults are root:wheel on FreeBSD and macOS, root:root everywhere else. Looking at what downstream distributions actually do, we can see that these defaults are overriden the vast majority of the time, with a number of variations showing up in the wild: * qemu:qemu -> Used by