Comment 4 for bug 1870352

Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :

Hello:

This problem is also affecting to any other method executed in a namespace context. In order to avoid this problem, the method setting the namespace in Pyroute2 should also needs use ctypes.PyDLL shared library, instead of ctypes.CDLL.

Related bug in Pyroute2: https://github.com/svinota/pyroute2/issues/702
Related patch: https://github.com/ralonsoh/pyroute2/commit/0b8a9d21f2280b9cec700d0cdee32288f9514220

If this patch is merged, then we'll need to bump Pyroute2 version and call "NetNS" context with ctypes.PyDLL (similar to I36ef9bf59e9c93f50464457a5d9a968738844079).

Regards.