units: drop dependency on systemd-remount-fs.service from systemd-pstore.service
authorLennart Poettering <lennart@poettering.net>
Wed, 8 Apr 2020 14:10:38 +0000 (16:10 +0200)
committerMichael Biebl <biebl@debian.org>
Mon, 27 Jul 2020 21:24:47 +0000 (22:24 +0100)
This dependency is now generated automatically given we use
StateDirectory=. Moreover the combination of Wants= and After= was too
strong anyway, as whether remount-fs is pulled in or not should not be up
to systemd-pstore.service, and in fact is part of the initial
transaction anyway.

(cherry picked from commit 0c978faa16fa9ecf92f0bbb5c7cc709dc472d115)

Gbp-Pq: Name units-drop-dependency-on-systemd-remount-fs.service-from-.patch

units/systemd-pstore.service.in

index 37fcf878f0f021b5958fa8d60f99db2d721463c4..f9705b57f6f127eeccde1316ad756b0367d38e4e 100644 (file)
@@ -13,8 +13,6 @@ Documentation=man:systemd-pstore(8)
 ConditionDirectoryNotEmpty=/sys/fs/pstore
 ConditionVirtualization=!container
 DefaultDependencies=no
-Wants=systemd-remount-fs.service
-After=systemd-remount-fs.service
 Before=sysinit.target
 
 [Service]