Bug 121757 - system-config-securitylevel displays incorrect selinux status
Summary: system-config-securitylevel displays incorrect selinux status
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-securitylevel   
(Show other bugs)
Version: rawhide
Hardware: i686
OS: Linux
Target Milestone: ---
Assignee: Brent Fox
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2004-04-27 14:29 UTC by Matthew East
Modified: 2007-11-30 22:10 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-05-17 18:09:20 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Matthew East 2004-04-27 14:29:19 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040422

Description of problem:
The status of selinux as reported by the system-config-securitylevel
GUI is not correct. i.e. it is not the same as that reported by
/etc/sysconfig/selinux. I have the latter set to "selinux=disabled"
but when I open the GUI it automatically has selinux set as active
(this can cause problems if I edit the firewall settings and click
save without looking in the selinux tab, as it will save the setting
to "active"). 

I have a similar problem with system-config-display, which I have
reported under bug #121756.

many thanks, and I hope you will be able to help me with this problem.

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

How reproducible:

Steps to Reproduce:
1. Set selinux to "disabled" in /etc/sysconfig/selinux 
2. Open system-config-securitylevel GUI
3. Compare the settings of selinux.

Actual Results:  They are not the same.

Expected Results:  They should be the same!

Additional info:

Comment 1 Michael Opdenacker 2004-04-29 14:40:33 UTC
I confirm that this happens to me too.
If you set SELinux to "Disabled" and click "OK",
the next time you run system-config-securitylevel,
SELinux is still displayed as "Active"

Comment 2 Michael Opdenacker 2004-04-29 14:44:17 UTC
Oops, adding me to the CC list

Comment 3 Matthew East 2004-04-30 12:22:29 UTC
More on this: I've recently setup Selinux as "permissive". However
system-config-securitylevel still displays it as "Active"

Comment 4 Kam Leo 2004-05-03 20:13:21 UTC
Even worst is that if Selinux is set to "disabled" in selinux it has
no effect.  On reboot dmesg shows Selinux as "Active".  I needed to
add "selinux=0" in grub/menu.lst to stop Selinux.

Comment 5 Yoshinobu Akimoto 2004-05-09 08:51:17 UTC
The Current state of SELinux is stored in /etc/sysconfig/selinux. It 
should be used as the current value of system-config-securitylevel.

Comment 6 Brent Fox 2004-05-17 18:09:20 UTC
The SELinux widgets were removed for the FC2 final release because we
just didn't have time to get the SELinux bits into usable state.  We
will revisit this for FC3.

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