Accepting request 1133112 from Base:System

- procps-3.3.17-ignore-sysctl_conf.patch: ignore dangling symlink
  to missing /etc/sysctl.conf file [bsc#1217990] (forwarded request 1133107 from kukuk)

OBS-URL: https://build.opensuse.org/request/show/1133112
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/procps?expand=0&rev=135
This commit is contained in:
Ana Guerrero 2023-12-15 20:47:07 +00:00 committed by Git OBS Bridge
commit e925c8a49d
3 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- procps-3.3.17/sysctl.c.old 2021-02-09 11:11:25.000000000 +0100
+++ procps-3.3.17/sysctl.c 2023-12-14 13:56:36.785976315 +0100
@@ -546,6 +546,8 @@
fp = (globbuf.gl_pathv[j][0] == '-' && !globbuf.gl_pathv[j][1])
? stdin : fopen(globbuf.gl_pathv[j], "r");
if (!fp) {
+ if (strcmp ("/usr/lib/sysctl.d/99-sysctl.conf", globbuf.gl_pathv[j]) == 0)
+ continue;
xwarn(_("cannot open \"%s\""), globbuf.gl_pathv[j]);
rc = -1;
goto out;

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Dec 14 13:26:05 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
- procps-3.3.17-ignore-sysctl_conf.patch: ignore dangling symlink
to missing /etc/sysctl.conf file [bsc#1217990]
-------------------------------------------------------------------
Mon Oct 30 07:03:50 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>

View File

@ -70,6 +70,7 @@ Patch36: CVE-2023-4016.patch
Patch42: procps-3.3.17-library-bsc1181475.patch
Patch43: procps-3.3.17-top-bsc1181475.patch
Patch44: procps-ng-3.3.17-logind.patch
Patch45: procps-3.3.17-ignore-sysctl_conf.patch
BuildRequires: automake
BuildRequires: dejagnu
BuildRequires: diffutils
@ -156,6 +157,7 @@ the process information pseudo-file system.
%patch42
%patch43
%patch44 -p1
%patch45 -p1
%build
test -s .tarball-version || echo %{version} > .tarball-version