Skip to content
/ server Public
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions support-files/mariadb.service.in
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ ProtectSystem=full
# Doesn't yet work properly with SELinux enabled
# NoNewPrivileges=true

# Restrict modifications of cgroups from the MariaDB service context.
ProtectControlGroups=true

# Prevent accessing /home, /root and /run/user
ProtectHome=true

Expand Down
3 changes: 3 additions & 0 deletions support-files/mariadb@.service.in
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,9 @@ ProtectSystem=full
# (https://github.com/systemd/systemd/issues/3845)
# NoNewPrivileges=true

# Restrict modifications of cgroups from the MariaDB service context.
ProtectControlGroups=true

# Prevent accessing /home, /root and /run/user
ProtectHome=true

Expand Down