Bug 2043500

Summary: Typo in net.ipv4.ping_group_range key in systemd's 50-default.conf
Product: Red Hat Enterprise Linux 8 Reporter: Leon Fauster <leonfauster>
Component: systemdAssignee: systemd-maint
Status: CLOSED DUPLICATE QA Contact: Frantisek Sumsal <fsumsal>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: CentOS StreamCC: bstinson, jwboyer, systemd-maint-list
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-01-21 11:48:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Leon Fauster 2022-01-21 11:30:13 UTC
Description of problem:

Jan 21 12:05:42 new.localdomain systemd-sysctl[1290]: Couldn't write '0 2147483647' to '-net/ipv4/ping_group_range', ignoring: No such file or directory

The minus sign as typo?

Version-Release number of selected component (if applicable):

# rpm -qf /usr/lib/sysctl.d/50-default.conf

How reproducible:

# grep group /usr/lib/sysctl.d/50-default.conf
-net.ipv4.ping_group_range = 0 2147483647

# reboot


# journalctl -b |grep group_range

Comment 1 Frantisek Sumsal 2022-01-21 11:48:06 UTC
Nope, that's not a typo, '-' means any errors are ignored if we couldn't set the respective value (which is required, in this case, otherwise the systemd-sysctl.service fails under certain container solutions). Unfortunately, it turns out we're missing a couple of patches in RHEL 8 to support that functionality - a solution is currently under investigation.

*** This bug has been marked as a duplicate of bug 2037807 ***