Blame SPECS/semanage.conf

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