5808e7
From bc6f273a0475a1fa7ab56bc1e498ee62c96aa660 Mon Sep 17 00:00:00 2001
5808e7
From: Lennart Poettering <lennart@poettering.net>
5808e7
Date: Wed, 8 Apr 2020 16:10:38 +0200
5808e7
Subject: [PATCH] units: drop dependency on systemd-remount-fs.service from
5808e7
 systemd-pstore.service
5808e7
5808e7
This dependency is now generated automatically given we use
5808e7
StateDirectory=. Moreover the combination of Wants= and After= was too
5808e7
strong anway, as whether remount-fs is pulled in or not should not be up
5808e7
to systemd-pstore.service, and in fact is part of the initial
5808e7
transaction anyway.
5808e7
5808e7
[dtardon: This only removes Wants=, not After=, because I haven't
5808e7
backported the auto-generation code the description talks about. The
5808e7
code is simple, but it's just an optimisation allowing for slightly
5808e7
shorter unit files, hence I don't think we really need it.]
5808e7
5808e7
(cherry picked from commit 0c978faa16fa9ecf92f0bbb5c7cc709dc472d115)
5808e7
5808e7
Related: #2158832
5808e7
---
5808e7
 units/systemd-pstore.service.in | 1 -
5808e7
 1 file changed, 1 deletion(-)
5808e7
5808e7
diff --git a/units/systemd-pstore.service.in b/units/systemd-pstore.service.in
5808e7
index 37fcf878f0..9a86f3145c 100644
5808e7
--- a/units/systemd-pstore.service.in
5808e7
+++ b/units/systemd-pstore.service.in
5808e7
@@ -13,7 +13,6 @@ Documentation=man:systemd-pstore(8)
5808e7
 ConditionDirectoryNotEmpty=/sys/fs/pstore
5808e7
 ConditionVirtualization=!container
5808e7
 DefaultDependencies=no
5808e7
-Wants=systemd-remount-fs.service
5808e7
 After=systemd-remount-fs.service
5808e7
 Before=sysinit.target
5808e7