BindPaths -> ReadWritePaths for all systemd services
This commit is contained in:
@ -11,8 +11,8 @@ ProtectKernelModules=true
|
|||||||
ProtectControlGroups=true
|
ProtectControlGroups=true
|
||||||
LockPersonality=true
|
LockPersonality=true
|
||||||
SystemCallArchitectures=native
|
SystemCallArchitectures=native
|
||||||
BindPaths=-/var/log/mysql/
|
ReadWritePaths=-/var/log/mysql/
|
||||||
BindPaths=-/var/lib/mysql/
|
ReadWritePaths=-/var/lib/mysql/
|
||||||
BindPaths=-/var/run/mysqld/
|
ReadWritePaths=-/var/run/mysqld/
|
||||||
BindPaths=-/run/mysqld/
|
ReadWritePaths=-/run/mysqld/
|
||||||
InaccessiblePaths=/var/www/
|
InaccessiblePaths=/var/www/
|
||||||
|
@ -9,6 +9,6 @@ ProtectControlGroups=true
|
|||||||
LockPersonality=true
|
LockPersonality=true
|
||||||
MemoryDenyWriteExecute=true
|
MemoryDenyWriteExecute=true
|
||||||
SystemCallArchitectures=native
|
SystemCallArchitectures=native
|
||||||
BindPaths=/var/spool/
|
ReadWritePaths=-/var/spool/
|
||||||
BindPaths=/var/lib/postfix/
|
ReadWritePaths=-/var/lib/postfix/
|
||||||
InaccessiblePaths=/var/www/
|
InaccessiblePaths=-/var/www/
|
||||||
|
@ -9,6 +9,6 @@ ProtectControlGroups=true
|
|||||||
LockPersonality=true
|
LockPersonality=true
|
||||||
MemoryDenyWriteExecute=true
|
MemoryDenyWriteExecute=true
|
||||||
SystemCallArchitectures=native
|
SystemCallArchitectures=native
|
||||||
BindPaths=/var/spool/
|
ReadWritePaths=-/var/spool/
|
||||||
BindPaths=/var/lib/
|
ReadWritePaths=-/var/lib/
|
||||||
InaccessiblePaths=/var/www/
|
InaccessiblePaths=-/var/www/
|
||||||
|
Reference in New Issue
Block a user