Bug 221402 - system-config-securitylevel fails to start
system-config-securitylevel fails to start
Product: Fedora
Classification: Fedora
Component: system-config-securitylevel (Show other bugs)
powerpc Linux
medium Severity high
: ---
: ---
Assigned To: Chris Lumens
Depends On:
  Show dependency treegraph
Reported: 2007-01-04 09:57 EST by Joseph Sacco
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-01-04 14:26:46 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Joseph Sacco 2007-01-04 09:57:12 EST
system-config-securitylevel fails to start because of a missing module:

# system-config-securitylevel
Traceback (most recent call last):
  File "/usr/share/system-config-securitylevel/system-config-securitylevel.py",
line 11, in <module>
    import securitylevel 
  File "/usr/share/system-config-securitylevel/securitylevel.py", line 33, in
    import selinuxPage
  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:


Comment 1 Joseph Sacco 2007-01-04 11:06:53 EST
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???].

Comment 2 Chris Lumens 2007-01-04 14:26:46 EST
Should be:

from rhpl.Conf import *

Thanks for the bug report.  I'll rush out a new version to fix this item.

Note You need to log in before you can comment on or make changes to this bug.