summaryrefslogtreecommitdiff
path: root/support-files/mariadb@.service.in
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2016-08-17 13:57:34 +0400
committerSergey Vojtovich <svoj@mariadb.org>2016-08-17 13:59:00 +0400
commit1e160e5cb387900df8c47e87b9378c6e7df05777 (patch)
tree006539119ed9f2d83d2e93b7265e9fb67a77bca1 /support-files/mariadb@.service.in
parent48fbb2bf07515425edaf511ac2e17a575ae37713 (diff)
downloadmariadb-git-1e160e5cb387900df8c47e87b9378c6e7df05777.tar.gz
MDEV-10404 - Improved systemd service hardening causes SELinux problems
Disabled NoNewPrivileges until SELinux policy is fixed.
Diffstat (limited to 'support-files/mariadb@.service.in')
-rw-r--r--support-files/mariadb@.service.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/support-files/mariadb@.service.in b/support-files/mariadb@.service.in
index b7ac3b808bf..965e85260e4 100644
--- a/support-files/mariadb@.service.in
+++ b/support-files/mariadb@.service.in
@@ -55,7 +55,8 @@ CapabilityBoundingSet=CAP_IPC_LOCK
# Prevent writes to /usr, /boot, and /etc
ProtectSystem=full
-NoNewPrivileges=true
+# Doesn't yet work properly with SELinux enabled
+# NoNewPrivileges=true
PrivateDevices=true