Bug 2353362 - sysctl returns success even on write failure
Summary: sysctl returns success even on write failure
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: procps-ng
Version: rawhide
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Rybar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-03-19 15:11 UTC by Matteo Croce
Modified: 2025-03-19 15:32 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gitlab procps-ng/procps/-/commit/cd3a440b562e6efc713ce1524678dd068a85bf91 0 None None None 2025-03-19 15:11:34 UTC
Red Hat Issue Tracker RHEL-84138 0 None None None 2025-03-19 15:32:46 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.