-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-10.0.beta
-
No
-
Moderate
-
rhel-sst-storage-io
-
ssg_filesystems_storage_and_HA
-
None
-
False
-
-
None
-
None
-
None
-
None
-
None
What were you trying to do that didn't work?
# rpm -q python3-kmod python3-kmod-0.9.2-5.el10.x86_64 Following the readme in /usr/share/doc/python3-kmod/README, do >>> import kmod >>> km = kmod.Kmod() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: module 'kmod' has no attribute 'Kmod'
What is the impact of this issue to you?
Please provide the package NVR for which the bug is seen:
How reproducible is this bug?:
Steps to reproduce
Expected results
>>> import kmod >>> km = kmod.Kmod() >>> [(m.name, m.size) for m in km.loaded()] [(u'nfs', 407706), (u'nfs_acl', 12741) ... (u'virtio_blk', 17549)] >>> km.modprobe("btrfs") >>> km.rmmod("btrfs")
Actual results
AttributeError: module 'kmod' has no attribute 'Kmod'