mirror of https://gitee.com/openkylin/systemd.git
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:
parent
68c507102c
commit
8f40ec0c13
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue