mirror of
https://github.com/MariaDB/server.git
synced 2025-08-09 22:24:09 +03:00
MDEV-10404 - Improved systemd service hardening causes SELinux problems
Disabled NoNewPrivileges until SELinux policy is fixed.
This commit is contained in:
@@ -48,7 +48,8 @@ CapabilityBoundingSet=CAP_IPC_LOCK
|
|||||||
# Prevent writes to /usr, /boot, and /etc
|
# Prevent writes to /usr, /boot, and /etc
|
||||||
ProtectSystem=full
|
ProtectSystem=full
|
||||||
|
|
||||||
NoNewPrivileges=true
|
# Doesn't yet work properly with SELinux enabled
|
||||||
|
# NoNewPrivileges=true
|
||||||
|
|
||||||
PrivateDevices=true
|
PrivateDevices=true
|
||||||
|
|
||||||
|
@@ -55,7 +55,8 @@ CapabilityBoundingSet=CAP_IPC_LOCK
|
|||||||
# Prevent writes to /usr, /boot, and /etc
|
# Prevent writes to /usr, /boot, and /etc
|
||||||
ProtectSystem=full
|
ProtectSystem=full
|
||||||
|
|
||||||
NoNewPrivileges=true
|
# Doesn't yet work properly with SELinux enabled
|
||||||
|
# NoNewPrivileges=true
|
||||||
|
|
||||||
PrivateDevices=true
|
PrivateDevices=true
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user