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:
commit
e925c8a49d
11
procps-3.3.17-ignore-sysctl_conf.patch
Normal file
11
procps-3.3.17-ignore-sysctl_conf.patch
Normal 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;
|
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user