Bug 171748 - no midifications to selinux policy are saved
no midifications to selinux policy are saved
Status: CLOSED DUPLICATE of bug 202375
Product: Fedora
Classification: Fedora
Component: system-config-securitylevel (Show other bugs)
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Chris Lumens
: 171749 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2005-10-25 17:10 EDT by Edward Rudd
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-08-16 10:55:27 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Stack trace of running latest s-c-securitylevel for FC4 x86_64 (7.77 KB, text/plain)
2005-11-21 11:55 EST, Edward Rudd
no flags Details

  None (edit)
Description Edward Rudd 2005-10-25 17:10:34 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.0.7-1.1.fc4 Firefox/1.0.7

Description of problem:

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

How reproducible:

Steps to Reproduce:
1. run system-config.securitylevel
2. change any flag (ie. allowing httpd to make outgoing connections)
3. click "OK"

Actual Results:  the setting should change. however getsebool shows the setting is still at it's old value (inactive) and no booleans.local file is created with the adjusted setting.  re-running s-c-securitylevel does not show any changes to the settings like I changed them.

Expected Results:  the selinux policy should be adjusted and the settings saved.

Additional info:
Comment 1 Edward Rudd 2005-10-25 17:11:33 EDT
*** Bug 171749 has been marked as a duplicate of this bug. ***
Comment 2 Chris Lumens 2005-10-27 15:23:11 EDT
Please test out the s-c-securitylevel package from Rawhide and verify that this
works for you.  I just tested out with targeted policy, enforcing, and the
use_nfs_home_dirs boolean.  Both booleans.local is created and getsebool shows
it enabled.
Comment 3 Edward Rudd 2005-11-21 11:51:31 EST
rebuilding the 1.6.9-1 RPM for FC4 fails to run with "Unknown error." 
And pre-built RPM will not install due to GLIBC version differences (2.3 vs 2.4)
and older newt version (0.51.x vs 0.52.x)
Comment 4 Edward Rudd 2005-11-21 11:55:32 EST
Created attachment 121302 [details]
Stack trace of running latest s-c-securitylevel for FC4 x86_64

nohup strace system-config-securitylevel
as root
switching tabs, opening HTTPD service, and un-checking "disable selinux
protection for httpd daemon"
I had previously used setsebool -P to turn that flag on in this case.
Comment 5 Chris Lumens 2005-12-01 13:04:59 EST
I am unable to reproduce this on a fresh install of FC4 with the specified
version of s-c-securitylevel on x86_64.  Do you have any other information which
may be helpful in figuring out what is going on?
Comment 6 Edward Rudd 2005-12-01 17:38:52 EST
Other than this system is a FC3 to FC4 upgrade..
but I have re-installed the s-c-securitylevel package and relabeled the system
and it is still doing it.

Is they any way of easily debugging to see where the s-c-securitylevel program
is failing to write to the file?

And is there any useful information in the stack trace?
Comment 7 Ian Pilcher 2006-02-01 10:59:26 EST
I see this behavior on a fully updated Fedora Core 4 system

Changes to the samba_enable_home_dirs boolean did not take.

This is a dual-processor i686 system, clean install.
Comment 8 Chris Lumens 2006-08-16 10:55:27 EDT
Still happening under devel, though I do not yet know why.  Duping to that bug
to consolidate information in one place.

*** This bug has been marked as a duplicate of 202375 ***

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