On Wed, 21 Aug 2019 at 08:23, Daniel P. Berrangé <berrange@xxxxxxxxxx> wrote: > > On Tue, Aug 20, 2019 at 11:11:07AM -0400, Marcus Furlong wrote: > > Resend to libvir-list in case that is more appropriate: > > > > > > Hi, > > > > I get the following error when running libvirtd on MacOS as root: > > > > 2019-07-11 00:12:33.673+0000: 123145573953536: error : > > qemuProcessQMPLaunch:8501 : internal error: Failed to start QEMU > > binary /usr/local/bin/qemu-system-x86_64 for probing: libvirt: error > > : cannot set supplemental groups: Invalid argument > > Are you able to run 'strace' (or whatever MacOS eqiuv is) to see > the values passed to setgroups when it fails ? I ran `dtruss -f -l -s /usr/local/sbin/libvirtd` but the setgroups calls seem to be missing. Looking at other sources, it seems like some have special treatment of setgroups on MacOS, e.g. samba: https://github.com/samba-team/samba/blob/v4-11-stable/source3/smbd/sec_ctx.c#L261-#L305 Perhaps this is needed for libvirt? Marcus. -- Marcus Furlong -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list