Comment 9 for bug 1810518

Revision history for this message
Slawek Kaplonski (slaweq) wrote :

I just found that when I changed method used to start PrivsepDaemon from Method.ROOTWRAP to Method.FORK (in https://github.com/openstack/oslo.privsep/blob/master/oslo_privsep/priv_context.py#L218) and run test as root, then tests were passed.

Otherwise test is failing with segfault exactly in libnetfilter_conntrack.so when it's called from: https://github.com/openstack/neutron/blob/master/neutron/privileged/agent/linux/netlink_lib.py#L191

I don't think it's matter of keeping reference to C callback. I know that You were trying something like that and it wasn't successful. I was also trying to e.g. disable gc in this module and I had exactly the same issue still.