forked from pool/systemd
- Add 0001-Revert-core-prevent-excessive-proc-self-mountinfo-pa.patch
A temporary patch until https://github.com/systemd/systemd/issues/19464 is solved. OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1154
This commit is contained in:
parent
122037788d
commit
57ff2224b1
@ -0,0 +1,35 @@
|
|||||||
|
From c9bce1f07276c591d8637dbfc3244ee11e8fa4e1 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Franck Bui <fbui@suse.com>
|
||||||
|
Date: Tue, 18 May 2021 11:53:55 +0200
|
||||||
|
Subject: [PATCH 1/1] Revert "core: prevent excessive /proc/self/mountinfo
|
||||||
|
parsing"
|
||||||
|
|
||||||
|
This reverts commit d586f642fd90e3bb378f7b6d3e3a64a753e51756.
|
||||||
|
|
||||||
|
This reverts commit d586f642fd90e3bb378f7b6d3e3a64a753e51756 temporarly until
|
||||||
|
more investigation is done to find the root cause of
|
||||||
|
https://github.com/systemd/systemd/issues/19464.
|
||||||
|
---
|
||||||
|
src/core/mount.c | 6 ------
|
||||||
|
1 file changed, 6 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/core/mount.c b/src/core/mount.c
|
||||||
|
index ca5d0939a1..2939062161 100644
|
||||||
|
--- a/src/core/mount.c
|
||||||
|
+++ b/src/core/mount.c
|
||||||
|
@@ -1859,12 +1859,6 @@ static void mount_enumerate(Manager *m) {
|
||||||
|
goto fail;
|
||||||
|
}
|
||||||
|
|
||||||
|
- r = sd_event_source_set_ratelimit(m->mount_event_source, 1 * USEC_PER_SEC, 5);
|
||||||
|
- if (r < 0) {
|
||||||
|
- log_error_errno(r, "Failed to enable rate limit for mount events: %m");
|
||||||
|
- goto fail;
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
(void) sd_event_source_set_description(m->mount_event_source, "mount-monitor-dispatch");
|
||||||
|
}
|
||||||
|
|
||||||
|
--
|
||||||
|
2.26.2
|
||||||
|
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 18 10:04:16 UTC 2021 - Franck Bui <fbui@suse.com>
|
||||||
|
|
||||||
|
- Add 0001-Revert-core-prevent-excessive-proc-self-mountinfo-pa.patch
|
||||||
|
|
||||||
|
A temporary patch until
|
||||||
|
https://github.com/systemd/systemd/issues/19464 is solved.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 18 08:19:57 UTC 2021 - Franck Bui <fbui@suse.com>
|
Tue May 18 08:19:57 UTC 2021 - Franck Bui <fbui@suse.com>
|
||||||
|
|
||||||
|
@ -191,6 +191,7 @@ Patch12: 0012-resolved-create-etc-resolv.conf-symlink-at-runtime.patch
|
|||||||
# upstream and need an urgent fix. Even in this case, the patches are
|
# upstream and need an urgent fix. Even in this case, the patches are
|
||||||
# temporary and should be removed as soon as a fix is merged by
|
# temporary and should be removed as soon as a fix is merged by
|
||||||
# upstream.
|
# upstream.
|
||||||
|
Patch100: 0001-Revert-core-prevent-excessive-proc-self-mountinfo-pa.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Systemd is a system and service manager, compatible with SysV and LSB
|
Systemd is a system and service manager, compatible with SysV and LSB
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 18 10:04:16 UTC 2021 - Franck Bui <fbui@suse.com>
|
||||||
|
|
||||||
|
- Add 0001-Revert-core-prevent-excessive-proc-self-mountinfo-pa.patch
|
||||||
|
|
||||||
|
A temporary patch until
|
||||||
|
https://github.com/systemd/systemd/issues/19464 is solved.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 18 08:19:57 UTC 2021 - Franck Bui <fbui@suse.com>
|
Tue May 18 08:19:57 UTC 2021 - Franck Bui <fbui@suse.com>
|
||||||
|
|
||||||
|
@ -189,6 +189,7 @@ Patch12: 0012-resolved-create-etc-resolv.conf-symlink-at-runtime.patch
|
|||||||
# upstream and need an urgent fix. Even in this case, the patches are
|
# upstream and need an urgent fix. Even in this case, the patches are
|
||||||
# temporary and should be removed as soon as a fix is merged by
|
# temporary and should be removed as soon as a fix is merged by
|
||||||
# upstream.
|
# upstream.
|
||||||
|
Patch100: 0001-Revert-core-prevent-excessive-proc-self-mountinfo-pa.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Systemd is a system and service manager, compatible with SysV and LSB
|
Systemd is a system and service manager, compatible with SysV and LSB
|
||||||
|
Loading…
Reference in New Issue
Block a user