richardphibel / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
be0c12
From 41a32aeaf5d33f253f48bfbe8d00de9d160985f7 Mon Sep 17 00:00:00 2001
be0c12
From: Lennart Poettering <lennart@poettering.net>
be0c12
Date: Fri, 26 Jul 2019 09:26:07 +0200
be0c12
Subject: [PATCH] sysctl: prefix ping port range setting with a dash
be0c12
be0c12
Fixes: #13177
be0c12
be0c12
Resolves: #2037807
be0c12
be0c12
(cherry picked from commit 000500c9d6347e0e2cdb92ec48fa10c0bb3ceca8)
be0c12
---
be0c12
 sysctl.d/50-default.conf | 2 +-
be0c12
 1 file changed, 1 insertion(+), 1 deletion(-)
be0c12
be0c12
diff --git a/sysctl.d/50-default.conf b/sysctl.d/50-default.conf
be0c12
index 21ae1df13d..5156d55ca9 100644
be0c12
--- a/sysctl.d/50-default.conf
be0c12
+++ b/sysctl.d/50-default.conf
be0c12
@@ -39,7 +39,7 @@ net.ipv4.conf.all.promote_secondaries = 1
be0c12
 #   #define GID_T_MAX (((gid_t)~0U) >> 1)
be0c12
 # That's not so bad because values between 2^31 and 2^32-1 are reserved on
be0c12
 # systemd-based systems anyway: https://systemd.io/UIDS-GIDS.html#summary
be0c12
-net.ipv4.ping_group_range = 0 2147483647
be0c12
+-net.ipv4.ping_group_range = 0 2147483647
be0c12
 
be0c12
 # Fair Queue CoDel packet scheduler to fight bufferbloat
be0c12
 net.core.default_qdisc = fq_codel