Blame SOURCES/semanage.conf

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