We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I run my python app from command line as 'sudo python3 myapp' and I get (logged in with su gives same results):
[Errno 9] Bad file descriptor
at:
File "/usr/local/lib/python3.11/site-packages/pyroute2/netlink/rtnl/iprsocket.py", line 71, in sendto_gate return self._sendto(msg.data, addr)
from:
ipr.rule('add', table=self.table_id, priority=priority, src='100.66.2.224', src_len=29, action='FR_ACT_TO_TBL')
a lot of Pyroute2 tests fails with 'sudo make test'. Test report attached.
testreport.txt
The text was updated successfully, but these errors were encountered:
Note this is on a clean installation of Centos 9 and Ubuntu 18
Sorry, something went wrong.
Just downgraded to python2.7 and used the older version of this lib and that works fine. So something not right with latest + python 3.9
No branches or pull requests
I run my python app from command line as 'sudo python3 myapp' and I get (logged in with su gives same results):
[Errno 9] Bad file descriptor
at:
File "/usr/local/lib/python3.11/site-packages/pyroute2/netlink/rtnl/iprsocket.py", line 71, in sendto_gate
return self._sendto(msg.data, addr)
from:
ipr.rule('add',
table=self.table_id,
priority=priority,
src='100.66.2.224',
src_len=29,
action='FR_ACT_TO_TBL')
a lot of Pyroute2 tests fails with 'sudo make test'. Test report attached.
testreport.txt
The text was updated successfully, but these errors were encountered: