update coredump configs
This commit is contained in:
parent
703e460154
commit
75eb29517f
1 changed files with 2 additions and 1 deletions
|
|
@ -482,8 +482,9 @@ EOF
|
|||
cat << 'EOF' > /etc/systemd/coredump.conf.d/storage.conf
|
||||
[Coredump]
|
||||
Storage=none
|
||||
ProcessSizeMax=0
|
||||
EOF
|
||||
echo 'kernel.core_pattern=' > /etc/sysctl.d/50-coredump.conf
|
||||
echo 'kernel.core_pattern=|/bin/false' > /etc/sysctl.d/50-coredump.conf
|
||||
|
||||
# allow strace of own processes
|
||||
echo 'kernel.yama.ptrace_scope=0' > /etc/sysctl.d/10-ptrace.conf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue