teknoraver / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone

Blame SOURCES/0890-units-drop-dependency-on-systemd-remount-fs.service-.patch

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