From: Zbigniew Jędrzejewski-Szmek Date: Tue, 5 Sep 2017 07:14:51 +0000 (+0200) Subject: units: order cryptsetup-pre.target before cryptsetup.target X-Git-Tag: v235~158^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=947d21171bdd8375db6482bc7d758d74b27f7dd4;p=thirdparty%2Fsystemd.git units: order cryptsetup-pre.target before cryptsetup.target Normally this happens automatically, but if it happened that both targets were pulled in, even though there were no cryptsetup units, they could be started in reverse order, which would be somewhat confusing. Add an explicit ordering to avoid this potential issue. --- diff --git a/units/cryptsetup-pre.target b/units/cryptsetup-pre.target index 65353419fc7..42e35dd4e46 100644 --- a/units/cryptsetup-pre.target +++ b/units/cryptsetup-pre.target @@ -9,3 +9,4 @@ Description=Encrypted Volumes (Pre) Documentation=man:systemd.special(7) RefuseManualStart=yes +Before=cryptsetup.target