Red Hat Bugzilla – Bug 1021434
Libvirt Python bindings fail to properly pass file descriptors
Last modified: 2013-10-24 15:28:33 EDT
Created attachment 814505 [details]
A patch fixing the problem
Description of problem:
The libvirt python api fails to properly pass file descriptors to the libvirt daemon.
The problem resides in the following functions (in ):
Version-Release number of selected component (if applicable):
All current releases providing FD passing to containers
Try to pass file descriptors to a container using the aforementioned functions.
The fds are created but mapped to /dev/null instead to the correct FD's
Passed FD's are mapped to /dev/null
Passed FD's should be mapped to the original FD
I posted the patch on mailing list for you and reviewed it myself. I'll also push it if it is accepted.
Feel free to post (unified) patches (against git master) yourself in the future when you have a fix. It will speed up the things.
I forgot to attach the bug number in the commit message, but here is the link to the patch posted:
Author: Marian Neagul <email@example.com>
Date: Tue Oct 22 16:03:39 2013 +0100
python: Fix Create*WithFiles filefd passing