SHA256
1
0
forked from pool/procps
procps/procps-ng-3.3.8-ignore-scan_unevictable_pages.patch
Dirk Mueller ad8ffc4215 Accepting request 1190400 from home:dimstar:Factory
- Switch to procps 4 branch, bsorbing the former procps4 package:
  + Add provides/obsoletes procps4: make zypper replace procps4
    with the main package for users that manually switched.

Do the final switch to procs4; the issues from 2022 (e.g. salt) should be
fixed.

OBS-URL: https://build.opensuse.org/request/show/1190400
OBS-URL: https://build.opensuse.org/package/show/Base:System/procps?expand=0&rev=254
2024-07-30 22:00:16 +00:00

24 lines
587 B
Diff

From: Takashi Iwai <tiwai@suse.de>
Subject: Ignore scan_unevictable_pages entry in sysctl, too
References: bnc#868888
scan_unevictable_pages sysctl is deprecated in the recent kernel.
Ignore it for avoiding the kernel warning message.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
src/sysctl.c | 1 +
1 file changed, 1 insertion(+)
--- a/src/sysctl.c
+++ b/src/sysctl.c
@@ -63,6 +58,7 @@ static const char DEFAULT_PRELOAD[] = "/
static const char *DEPRECATED[] = {
"base_reachable_time",
"retrans_time",
+ "scan_unevictable_pages",
""
};
static bool IgnoreDeprecated;