mirror of
https://github.com/systemd/systemd.git
synced 2025-09-10 22:52:49 +02:00
coredump: drop RestrictSUIDSGID= option (#38640)
systemd-coredump sandbox already has ProtectSystem=strict hence all non
API filesystems are made read-only, thus RestrictSUIDSGID= doesn't buy
us much.
On top of that systemd-coredump's EnterNamespace= feature requires
openat2() to work correctly and that is implicitly blocked by
RestrictSUIDSGID=.
Follow-up for 8f8148cb08
This commit is contained in:
@@ -36,7 +36,6 @@ ProtectKernelLogs=yes
|
|||||||
ProtectSystem=strict
|
ProtectSystem=strict
|
||||||
RestrictAddressFamilies=AF_UNIX
|
RestrictAddressFamilies=AF_UNIX
|
||||||
RestrictRealtime=yes
|
RestrictRealtime=yes
|
||||||
RestrictSUIDSGID=yes
|
|
||||||
RuntimeMaxSec=5min
|
RuntimeMaxSec=5min
|
||||||
StateDirectory=systemd/coredump
|
StateDirectory=systemd/coredump
|
||||||
SystemCallArchitectures=native
|
SystemCallArchitectures=native
|
||||||
|
|||||||
Reference in New Issue
Block a user