Don't override Ubuntu's default sysctl values (LP: #1962038)

Gbp-Pq: Topic debian
Gbp-Pq: Name UBUNTU-Don-t-override-Ubuntu-s-default-sysctl-values-LP-1962038.patch
This commit is contained in:
Lukas Märdian 2022-02-25 12:01:25 +01:00 committed by liaoxianfu
parent 68c507102c
commit 8f40ec0c13
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
# Use kernel.sysrq = 1 to allow all keys.
# See https://www.kernel.org/doc/html/latest/admin-guide/sysrq.html for a list
# of values and keys.
kernel.sysrq = 16
#kernel.sysrq = 16 # Ubuntu uses /etc/sysctl.d/10-magic-sysrq.conf
# Append the PID to the core filename
kernel.core_uses_pid = 1
@ -24,7 +24,7 @@ kernel.core_uses_pid = 1
# Source route verification
net.ipv4.conf.default.rp_filter = 2
net.ipv4.conf.*.rp_filter = 2
-net.ipv4.conf.all.rp_filter
#-net.ipv4.conf.all.rp_filter # Ubuntu uses /etc/sysctl.d/10-network-security.conf
# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0