Bug 2353362

Summary: sysctl returns success even on write failure
Product: [Fedora] Fedora Reporter: Matteo Croce <rootkit85>
Component: procps-ngAssignee: Jan Rybar <jrybar>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jrybar
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matteo Croce 2025-03-19 15:11:34 UTC
Description of problem:

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

How reproducible:
always

Steps to Reproduce:
1. sysctl kernel.version=foo
2. echo $?

Actual results:
0

Expected results:
1

Additional info:
Please fix it by backporting the linked upstream fix.