Blame SOURCES/semanage.conf

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