Bug 2052536
| Summary: | hyphen in /usr/lib/sysctl.d/50-default.conf invalid argument | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | bugzilla | |
| Component: | procps-ng | Assignee: | systemd-maint | |
| Status: | CLOSED ERRATA | QA Contact: | Karel Volný <kvolny> | |
| Severity: | medium | Docs Contact: | Šárka Jana <sjanderk> | |
| Priority: | unspecified | |||
| Version: | 9.0 | CC: | dtardon, jpazdziora, jreznik, jrybar, msekleta, sjanderk, systemd-maint-list, zbyszek | |
| Target Milestone: | rc | Keywords: | FeatureBackport, Triaged, ZStream | |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
|
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | procps-ng-3.3.17-6.el9 | Doc Type: | Enhancement | |
| Doc Text: |
.`sysctl` introduces identic syntax for arguments as `systemd-sysctl`
The `sysctl` utility from the `procps-ng` package, which you can use to modify kernel parameters at runtime, now uses the same syntax for arguments as the `systemd-sysctl` utility. With this update, `sysctl` now parses configuration files that contain hyphens (`-`) or globs (`*`) on configuration lines.
For more information about the `systemd-sysctl` syntax, see the `sysctl.d(5)` man page.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 2121090 (view as bug list) | Environment: | ||
| Last Closed: | 2022-11-15 11:12:39 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: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 2121090 | |||
|
Description
bugzilla
2022-02-09 14:09:31 UTC
any update, still not fixed as of today despite a major systemd version uplift "dnf whatprovides" on those files returns systemd and redhat-release, so not sure where i got procps-ng from! "-" is a prefix used by systemd-sysctl for keys for which a warning should not be emitted. sysctl from procps-ng does not understand this syntax, so it warns. I think support for it was added in later versions of procps-ng, but I'm not sure if/when. In general, there is no need to call sysctl. Just use systemd-sysctl. (In reply to Zbigniew Jędrzejewski-Szmek from comment #3) > sysctl from procps-ng does not understand this syntax, so it warns. > I think support for it was added in later versions of procps-ng, but I'm not > sure if/when. I already linked the relevant procps-ng issue when I switched this bug to procps-ng. But as it seems that hasn't been enough, I'll repeat it in a comment too: https://gitlab.com/procps-ng/procps/-/issues/191 . And here's the commit that implements the change: https://gitlab.com/procps-ng/procps/-/commit/474847ed35dda5fd4c33a717d8cc7c4d17b90232 . Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (procps-ng bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:8276 |