Red Hat Bugzilla – Bug 221402
system-config-securitylevel fails to start
Last modified: 2007-11-30 17:11:52 EST
system-config-securitylevel fails to start because of a missing module:
Traceback (most recent call last):
line 11, in <module>
File "/usr/share/system-config-securitylevel/securitylevel.py", line 33, in
File "/usr/share/system-config-securitylevel/selinuxPage.py", line 27, in <module>
from Conf import *
ImportError: No module named Conf
From what I can see Conf.py was installed as part of rhpl:
This is a PYTHONPATH issue...
I hammered the code into submission adding
to the top of /usr/share/system-config-securitylevel/securitylevel.py, which
allows the application to run. This is *not* the right way to fix this problem.
Defining and exporting a PYTHONPATH that contained rhpl didn't work [wonder why???].
from rhpl.Conf import *
Thanks for the bug report. I'll rush out a new version to fix this item.