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