From: Antonio Alvarez Feijoo Date: Thu, 9 Feb 2023 12:55:11 +0000 (+0100) Subject: fix(systemd-journald): do not include systemd-journal-flush.service X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eff2a9398120b29fd869eec991410e254d0dcbb8;p=thirdparty%2Fdracut.git fix(systemd-journald): do not include systemd-journal-flush.service The systemd-journal-flush.service unit is configured not to run in the initrd since https://github.com/systemd/systemd/commit/fe7f113c --- diff --git a/modules.d/01systemd-journald/module-setup.sh b/modules.d/01systemd-journald/module-setup.sh index 1580bdf9a..dd1b3f3bf 100755 --- a/modules.d/01systemd-journald/module-setup.sh +++ b/modules.d/01systemd-journald/module-setup.sh @@ -40,7 +40,6 @@ install() { "$systemdsystemunitdir"/systemd-journald-audit.socket \ "$systemdsystemunitdir"/systemd-journald-dev-log.socket \ "$systemdsystemunitdir"/systemd-journald-varlink@.socket \ - "$systemdsystemunitdir"/systemd-journal-flush.service \ "$systemdsystemunitdir"/systemd-journal-catalog-update.service \ "$systemdsystemunitdir"/sockets.target.wants/systemd-journald-audit.socket \ "$systemdsystemunitdir"/sockets.target.wants/systemd-journald-dev-log.socket \ @@ -63,8 +62,6 @@ install() { "$systemdutilconfdir/journald.conf.d/*.conf" \ "$systemdsystemconfdir"/systemd-journald.service \ "$systemdsystemconfdir/systemd-journald.service.d/*.conf" \ - "$systemdsystemconfdir"/systemd-journal-flush.service \ - "$systemdsystemconfdir/systemd-journal-flush.service.d/*.conf" \ "$systemdsystemconfdir"/systemd-journal-catalog-update.service \ "$systemdsystemconfdir/systemd-journal-catalog-update.service.d/*.conf" \ "$sysusersconfdir"/systemd-journal.conf