0

hponcfg with selinux

Today I went to run hponcfg and found the following error


# hponcfg
HP Lights-Out Online Configuration utility
Version 4.0.0 Date 12/08/2011 (c) Hewlett-Packard Company, 2011
Error opening libcpqci.so: libcpqci.so: cannot open shared object file: No such file or directory
Problem running hponcfg on the machine
Run hponcfg after doing one of the following

Temporarily disable enforcement on a running system by
/usr/sbin/setenforce 0
OR
Permanently disable enforcement during a system startup
change "enforcing" to "disabled" in "/etc/selinux/config" and reboot

Error Loading the library libcpqci.so or libhponcfg.so

quick google search did not return much so dug in deeper and found the following to fix selinux rules to allow hponcfg to run


chcon -t textrel_shlib_t '/usr/lib/hponcfg/libhponcfg.so'
semanage fcontext -a -t textrel_shlib_t '/usr/lib/hponcfg/libhponcfg.so'

enjoy

jlim0930

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.