Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 186554 - System-config-securitylevel fails to apply changes
System-config-securitylevel fails to apply changes
Product: Fedora
Classification: Fedora
Component: system-config-securitylevel (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Chris Lumens
: 187701 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2006-03-24 07:03 EST by Simon Andrews
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-03-30 17:29:17 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Python traceback generated when the OK button is pressed. (551 bytes, text/plain)
2006-03-24 07:03 EST, Simon Andrews
no flags Details

  None (edit)
Description Simon Andrews 2006-03-24 07:03:56 EST
Description of problem:

System-config-securitylevel fails to apply changes to config files.  Run from a
terminal it generates a python traceback.

Version-Release number of selected component (if applicable):

How reproducible:
Always (on our test system at least)

Steps to Reproduce:
1. Launch system-config-securitylevel
2. Press OK
Actual results:
In the graphical interface nothing happens (the window doesn't close).  When
launched from a terminal a python traceback is generated.

Expected results:
Security settings are correctly updated.

Additional info:
Comment 1 Simon Andrews 2006-03-24 07:03:56 EST
Created attachment 126619 [details]
Python traceback generated when the OK button is pressed.
Comment 2 Chris Lumens 2006-03-24 16:24:13 EST
What are the results of rpm -qa selinux\*  ?
Comment 3 Simon Andrews 2006-03-30 05:36:46 EST
# rpm -qa selinux\*

[nothing!  Which seems odd...]

# rpm -qa | grep selinux

This is a machine which was upgraded from FC4, and on which I believe selinux had previously been 

Looking at /etc/sysconfig/selinux I saw that it was now set to enforcing with the file having the date 
stamp of the upgrade to FC5.

I then did

yum install selinux-policy-targetted, and system-config-securitylevel now works.

Not sure how this happened, but could it be that anaconda overwrote the old config file during the 
upgrade and left selinux in an odd state?
Comment 4 Chris Lumens 2006-03-30 17:17:11 EST
Looks like there's two bugs here - first, s-c-securitylevel shouldn't be
exploding in the case of there being no selinux stuff installed.  Second, it
looks like anaconda's driving over your selinux settings on upgrade.  Could you
please file a bug against anaconda for that aspect of it?
Comment 5 Chris Lumens 2006-04-03 09:39:00 EDT
*** Bug 187701 has been marked as a duplicate of this bug. ***

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