summaryrefslogtreecommitdiff
path: root/support-files/rpm
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2017-01-17 14:09:38 +0100
committerSergei Golubchik <serg@mariadb.org>2017-01-17 20:16:01 +0100
commite79e840607adff6f2e55d4c889ae055d07bdabf5 (patch)
tree404ef1a553aabdec765089eea4d0a76fdef751dc /support-files/rpm
parent736afe868094b9aa24211c3772fb3b297d62d8fc (diff)
downloadmariadb-git-e79e840607adff6f2e55d4c889ae055d07bdabf5.tar.gz
selinux fixes for 10.0->10.1 merge
1. don't put generated files into ${CMAKE_CURRENT_SOURCE_DIR} 2. policy file name must match the module name (Fedora 24 requirement)
Diffstat (limited to 'support-files/rpm')
-rw-r--r--support-files/rpm/server-postin.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/support-files/rpm/server-postin.sh b/support-files/rpm/server-postin.sh
index bdce35b1d0e..9ef9bec3e0d 100644
--- a/support-files/rpm/server-postin.sh
+++ b/support-files/rpm/server-postin.sh
@@ -96,7 +96,7 @@ if [ -f /etc/redhat-release ] ; then
fi
if grep 'CentOS release 6' /etc/redhat-release >/dev/null 2>&1; then
if [ -x /usr/sbin/semodule ] ; then
- /usr/sbin/semodule -i /usr/share/mysql/policy/selinux/mysqld-safe.pp
+ /usr/sbin/semodule -i /usr/share/mysql/policy/selinux/mariadb.pp
fi
fi
fi