Blame SOURCES/semanage.conf

e74907
# Authors: Jason Tang <jtang@tresys.com>
e74907
#
e74907
# Copyright (C) 2004-2005 Tresys Technology, LLC
e74907
#
e74907
#  This library is free software; you can redistribute it and/or
e74907
#  modify it under the terms of the GNU Lesser General Public
e74907
#  License as published by the Free Software Foundation; either
e74907
#  version 2.1 of the License, or (at your option) any later version.
e74907
#
e74907
#  This library is distributed in the hope that it will be useful,
e74907
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
e74907
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
e74907
#  Lesser General Public License for more details.
e74907
#
e74907
#  You should have received a copy of the GNU Lesser General Public
e74907
#  License along with this library; if not, write to the Free Software
e74907
#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
e74907
#
e74907
# Specify how libsemanage will interact with a SELinux policy manager.
e74907
# The four options are:
e74907
#
e74907
#  "source"     - libsemanage manipulates a source SELinux policy
e74907
#  "direct"     - libsemanage will write directly to a module store.
e74907
#  /foo/bar     - Write by way of a policy management server, whose
e74907
#                 named socket is at /foo/bar.  The path must begin
e74907
#                 with a '/'.
e74907
#  foo.com:4242 - Establish a TCP connection to a remote policy
e74907
#                 management server at foo.com.  If there is a colon
e74907
#                 then the remainder is interpreted as a port number;
e74907
#                 otherwise default to port 4242.
e74907
module-store = direct
e74907
e74907
# When generating the final linked and expanded policy, by default
e74907
# semanage will set the policy version to POLICYDB_VERSION_MAX, as
e74907
# given in <sepol/policydb.h>.  Change this setting if a different
e74907
# version is necessary.
e74907
#policy-version = 19
e74907
e74907
# expand-check check neverallow rules when executing all semanage commands.
e74907
# Large penalty in time if you turn this on.  
e74907
expand-check=0
e74907
e74907
# usepasswd check tells semanage to scan all pass word records for home directories
e74907
# and setup the labeling correctly.  If this is turned off, SELinux will label /home 
e74907
# correctly only.  You will need to use semanage fcontext command.  
e74907
# For example, if you had home dirs in /althome directory you would have to execute
e74907
# semanage fcontext -a -e /home /althome
e74907
usepasswd=False
e74907
bzip-small=true
e74907
bzip-blocksize=5
e74907
ignoredirs=/root