]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fix(systemd-journald): do not include systemd-journal-flush.service
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Thu, 9 Feb 2023 12:55:11 +0000 (13:55 +0100)
committerAntonio Álvarez Feijoo <antonio.feijoo@suse.com>
Thu, 8 Jun 2023 13:54:38 +0000 (15:54 +0200)
The systemd-journal-flush.service unit is configured not to run in the initrd
since https://github.com/systemd/systemd/commit/fe7f113c

modules.d/01systemd-journald/module-setup.sh

index 1580bdf9a0fc53181ebbc6453f5eae88986a9265..dd1b3f3bf3ea5ed9999fe2fdb84827b277140f33 100755 (executable)
@@ -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