6f7af4
From 4db9f93bde030993f2777a4dacfcb72cab387b43 Mon Sep 17 00:00:00 2001
6f7af4
From: David Tardon <dtardon@redhat.com>
6f7af4
Date: Mon, 14 Mar 2022 10:48:44 +0100
6f7af4
Subject: [PATCH] fix(dracut-systemd): correct service dependencies
6f7af4
6f7af4
dracut-systemd.service is not an early boot service, therefore it should
6f7af4
not use DefaultDependencies=no. This also fixes the service's ordering
6f7af4
dependencies, as in its current state it is missing
6f7af4
Before=shutdown.target umount.target
6f7af4
6f7af4
Resolves: #1924587, #1717323
6f7af4
---
6f7af4
 modules.d/98dracut-systemd/dracut-shutdown.service | 2 --
6f7af4
 1 file changed, 2 deletions(-)
6f7af4
6f7af4
diff --git a/modules.d/98dracut-systemd/dracut-shutdown.service b/modules.d/98dracut-systemd/dracut-shutdown.service
6f7af4
index 81043b2d..b7324586 100644
6f7af4
--- a/modules.d/98dracut-systemd/dracut-shutdown.service
6f7af4
+++ b/modules.d/98dracut-systemd/dracut-shutdown.service
6f7af4
@@ -7,8 +7,6 @@ Description=Restore /run/initramfs on shutdown
6f7af4
 Documentation=man:dracut-shutdown.service(8)
6f7af4
 After=local-fs.target boot.mount boot.automount
6f7af4
 Wants=local-fs.target
6f7af4
-Conflicts=shutdown.target umount.target
6f7af4
-DefaultDependencies=no
6f7af4
 ConditionPathExists=!/run/initramfs/bin/sh
6f7af4
 
6f7af4
 [Service]
6f7af4