Red Hat Bugzilla – Bug 494978
rhpl.ethtool.getmodule fails on x86_64
Last modified: 2009-07-06 11:47:23 EDT
Description of problem:
This was seen on RHEL 5 x86_64 but may also happen on RHEL 4.
#rpm -q rhpl
[root@test01-svm ~]# python
>>> import rhpl.ethtool as ethtool
Traceback (most recent call last):
IOError: [Errno 95] Operation not supported
Applications need to use get_module to determine if certain interfaces are bridges. This works as expected for x86.
This doesn't universally not work on x86-64:
In : rhpl.getArch()
In : rhpl.ethtool.get_module("eth0")
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
We are working on killing rhpl instead, so this bug is no longer relevant.
It's completely relevant.
What are you replacing it with, and will it work consistently on all platforms and be available on all platforms?
Where was this announced?
There's a separate python-ethtool package which has different/more/better(?) bits. And the same is true for basically everything included in rhpl.
rhpl as a dumping ground has got to die. People just wrote stuff, stuck it in rhpl and then weren't interested in maintaining it. So I've started filing bugs with patches for different classes of things requiring rhpl; first set was last week, next will probably be this week.
Thanks for providing an explanation and what library we should be looking at instead. Much appreciated.