diff --git a/0001-Revert-core-prevent-excessive-proc-self-mountinfo-pa.patch b/0001-Revert-core-prevent-excessive-proc-self-mountinfo-pa.patch new file mode 100644 index 00000000..def1f512 --- /dev/null +++ b/0001-Revert-core-prevent-excessive-proc-self-mountinfo-pa.patch @@ -0,0 +1,35 @@ +From c9bce1f07276c591d8637dbfc3244ee11e8fa4e1 Mon Sep 17 00:00:00 2001 +From: Franck Bui +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 + diff --git a/systemd-mini.changes b/systemd-mini.changes index 62646d22..e0ad5a2e 100644 --- a/systemd-mini.changes +++ b/systemd-mini.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue May 18 10:04:16 UTC 2021 - Franck Bui + +- 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 diff --git a/systemd-mini.spec b/systemd-mini.spec index 5700ed4e..a2e5123b 100644 --- a/systemd-mini.spec +++ b/systemd-mini.spec @@ -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 # temporary and should be removed as soon as a fix is merged by # upstream. +Patch100: 0001-Revert-core-prevent-excessive-proc-self-mountinfo-pa.patch %description Systemd is a system and service manager, compatible with SysV and LSB diff --git a/systemd.changes b/systemd.changes index 62646d22..e0ad5a2e 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue May 18 10:04:16 UTC 2021 - Franck Bui + +- 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 diff --git a/systemd.spec b/systemd.spec index 73e0859a..1bfc5920 100644 --- a/systemd.spec +++ b/systemd.spec @@ -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 # temporary and should be removed as soon as a fix is merged by # upstream. +Patch100: 0001-Revert-core-prevent-excessive-proc-self-mountinfo-pa.patch %description Systemd is a system and service manager, compatible with SysV and LSB