Bug 122907 - enforcinfg is a typo in /etc/sysconfig/selinux
enforcinfg is a typo in /etc/sysconfig/selinux
Product: Fedora
Classification: Fedora
Component: initscripts (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Depends On:
  Show dependency treegraph
Reported: 2004-05-10 06:53 EDT by Tom Mitchell
Modified: 2014-03-16 22:45 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-05-21 16:36:07 EDT
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 Tom Mitchell 2004-05-10 06:53:08 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007

Description of problem:
/etc/sysconfig/selinux default text contains a typo that 
will confuse just enough people that it
should be fixed. 

   enforcinfg =/= enforcing

the default contents look like...

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcinfg - SELinux security policy is enforced.
#       permissive - SELinux prints warnings instead of enforcing.
#       disabled - No SELinux policy is loaded.

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

How reproducible:

Steps to Reproduce:
1. Inspect default file
2. cut and paste "enforcinfg" to replace "disabled"
3. test to see if "enforcing" is active.

Additional info:

this file would also be a good place for comments on the
necessary steps prior to setting enforcing (fixfiles relabel)
in permissive mode/state.

note also 
   # rpm -q --whatprovides /etc/sysconfig/selinux
   file /etc/sysconfig/selinux is not owned by any package
Comment 1 Tom Mitchell 2004-05-10 07:09:29 EDT
/usr/sbin/lokkit appears to be the source of this file.
   # rpm -q --whatprovides /usr/sbin/lokkit
  # strings /usr/sbin/lokkit | grep enforcinfg
  #       enforcinfg - SELinux security policy is enforced.
Comment 2 Bill Nottingham 2004-05-21 16:36:07 EDT
Fixed in 1.3.13-1.

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