Browse Source

MDEV-10404 - Improved systemd service hardening causes SELinux problems

Disabled NoNewPrivileges until SELinux policy is fixed.
pull/217/head
Sergey Vojtovich 9 years ago
parent
commit
1e160e5cb3
  1. 3
      support-files/mariadb.service.in
  2. 3
      support-files/mariadb@.service.in

3
support-files/mariadb.service.in

@ -48,7 +48,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

3
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

Loading…
Cancel
Save