Accepting request 227466 from Base:System
- Ignore scan_unevictable_pages sysctl entry (bnc#868888) procps-ng-3.3.8-ignore-scan_unevictable_pages.patch (forwarded request 227459 from tiwai) OBS-URL: https://build.opensuse.org/request/show/227466 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/procps?expand=0&rev=83
This commit is contained in:
parent
a7bc3ca8e9
commit
8c198c7411
23
procps-ng-3.3.8-ignore-scan_unevictable_pages.patch
Normal file
23
procps-ng-3.3.8-ignore-scan_unevictable_pages.patch
Normal file
@ -0,0 +1,23 @@
|
||||
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>
|
||||
|
||||
---
|
||||
sysctl.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
--- a/sysctl.c
|
||||
+++ b/sysctl.c
|
||||
@@ -57,6 +57,7 @@ static const char DEFAULT_PRELOAD[] = "/
|
||||
static const char *DEPRECATED[] = {
|
||||
"base_reachable_time",
|
||||
"retrans_time",
|
||||
+ "scan_unevictable_pages",
|
||||
""
|
||||
};
|
||||
static bool IgnoreDeprecated;
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 25 12:43:12 CET 2014 - tiwai@suse.de
|
||||
|
||||
- Ignore scan_unevictable_pages sysctl entry (bnc#868888)
|
||||
procps-ng-3.3.8-ignore-scan_unevictable_pages.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 17 13:17:36 UTC 2013 - werner@suse.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package procps
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -89,6 +89,8 @@ Patch28: procps-ng-3.3.8-vmstat-terabyte.dif
|
||||
Patch29: procps-ng-3.3.8-shmem.patch
|
||||
# PATCH-FIX-UPSTREAM -- Add enable-libselinux switch
|
||||
Patch30: procps-ng-3.3.8-libselinux.patch
|
||||
# PATCH-FIX-SUSE -- Ignore scan_unevictable_pages in sysctl
|
||||
Patch31: procps-ng-3.3.8-ignore-scan_unevictable_pages.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -163,6 +165,7 @@ the process information pseudo-file system,
|
||||
%patch28
|
||||
%patch29 -p1
|
||||
%patch30 -p1
|
||||
%patch31 -p1
|
||||
|
||||
%build
|
||||
tar --strip-components=1 -xf %{S:1}
|
||||
|
Loading…
Reference in New Issue
Block a user