My Oracle Support Banner

Registering Spacewalk Client via Rhnreg_ks Fails with "ImportError: No Module Named Hardware_hal" (Doc ID 2616313.1)

Last updated on DECEMBER 17, 2019

Applies to:

Linux OS - Version Oracle Linux 7.5 and later
Linux x86-64


Registering spacewalk client via Rhnreg_ks fails with "ImportError: No Module Named Hardware_hal"

# rhnreg_ks --sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT --serverUrl=https://swksvr_FQDN/XMLRPC --activationkey=activation_key
Traceback (most recent call last):
File "/sbin/rhnreg_ks", line 37, in <module>
from up2date_client import rhnreg
File "/usr/share/rhn/up2date_client/", line 20, in <module>
from up2date_client import hardware
File "/usr/share/rhn/up2date_client/", line 64, in <module>
from up2date_client.hardware_hal import check_hal_dbus_status, get_hal_computer, read_hal
ImportError: No module named hardware_hal


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.