In debugging vdsm/supervdsm process I noticed that event loop in
libvirtev.py will be affected by setgroups/setgid/setuid. Results in
libvirtd close connection because the keepalive scheme fals.Follow up vdsm
to libvirt calls fails because of broken pipe.(detail:
I'm afraid this will make vdsm/libvirt connection vulnerable in some
of the current use case,too. So I have plan:
1.we use default impl as
2.use the setKeepAlive api in libvirt (keepalive problem seems
disappear with this)
3.start libvirt event loop in first time we get libvirt connection,
not when the file first loaded .
I'd appreciate ideas about this on how to address this.Thanks a lot!
vdsm-devel mailing list