Accepting request 227459 from home:tiwai:branches:Base:System

- Ignore scan_unevictable_pages sysctl entry (bnc#868888)
  procps-ng-3.3.8-ignore-scan_unevictable_pages.patch

OBS-URL: https://build.opensuse.org/request/show/227459
OBS-URL: https://build.opensuse.org/package/show/Base:System/procps?expand=0&rev=121
This commit is contained in:
Dr. Werner Fink 2014-03-25 13:45:53 +00:00 committed by Git OBS Bridge
parent 0aabce4219
commit 19d965e67b
3 changed files with 33 additions and 1 deletions

View 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;

View File

@ -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

View File

@ -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}