Skip to content

Commit 1e160e5

Browse files
committed
MDEV-10404 - Improved systemd service hardening causes SELinux problems
Disabled NoNewPrivileges until SELinux policy is fixed.
1 parent 48fbb2b commit 1e160e5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

support-files/mariadb.service.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ CapabilityBoundingSet=CAP_IPC_LOCK
4848
# Prevent writes to /usr, /boot, and /etc
4949
ProtectSystem=full
5050

51-
NoNewPrivileges=true
51+
# Doesn't yet work properly with SELinux enabled
52+
# NoNewPrivileges=true
5253

5354
PrivateDevices=true
5455

support-files/mariadb@.service.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ CapabilityBoundingSet=CAP_IPC_LOCK
5555
# Prevent writes to /usr, /boot, and /etc
5656
ProtectSystem=full
5757

58-
NoNewPrivileges=true
58+
# Doesn't yet work properly with SELinux enabled
59+
# NoNewPrivileges=true
5960

6061
PrivateDevices=true
6162

0 commit comments

Comments
 (0)