Re: [libvirt] Fwd: libvirtd failing on MacOS in setgroups

2019-09-30 Thread Bruno Haible
Daniel P. Berrangé wrote: > > For what purpose is libvirt or QEMU using setgroups()? What goes wrong if > > setgroups() fails? > > QEMU potentially needs access to files owned by a supplementary group. > On Linux for example, /dev/kvm is often owned by 'kvm' group, but the > 'qemu' user on Fedora

Re: [libvirt] Fwd: libvirtd failing on MacOS in setgroups

2019-09-30 Thread Daniel P . Berrangé
On Mon, Sep 30, 2019 at 02:06:07PM +0200, Bruno Haible wrote: > Daniel P. Berrangé wrote: > > > > FWIW I compiled libvirt without the setgroups code on Mac and it > > > > worked as expected. Not sure what the implications of that are though? > > > > > > OK, then the fix would be to not use setgrou

Re: [libvirt] Fwd: libvirtd failing on MacOS in setgroups

2019-09-30 Thread Bruno Haible
Daniel P. Berrangé wrote: > > > FWIW I compiled libvirt without the setgroups code on Mac and it > > > worked as expected. Not sure what the implications of that are though? > > > > OK, then the fix would be to not use setgroups on Mac, and nothing to do > > in gnulib. Right? > > Not calling setg

Re: [libvirt] Fwd: libvirtd failing on MacOS in setgroups

2019-09-30 Thread Daniel P . Berrangé
On Sat, Sep 28, 2019 at 01:36:15PM +0200, Bruno Haible wrote: > Marcus Furlong wrote: > > FWIW I compiled libvirt without the setgroups code on Mac and it > > worked as expected. Not sure what the implications of that are though? > > OK, then the fix would be to not use setgroups on Mac, and nothi