]> sourceware.org Git - lvm2.git/commitdiff
systemd: blk-availability.service: add After=iscsi-shutdown.service
authorPeter Rajnoha <prajnoha@redhat.com>
Fri, 13 Mar 2015 11:05:47 +0000 (12:05 +0100)
committerPeter Rajnoha <prajnoha@redhat.com>
Fri, 13 Mar 2015 11:08:20 +0000 (12:08 +0100)
The iscsi-shutdown.service is the one responsible for logging out
iscsi sessions so blk-availability.service (running the blkdeactivate
script) should be run before that on shutdown (so we need to use
After=iscsi-shutdown.service because "After" relates to starting
the service and the opposite order is automatically applied on
stopping the service at shutdown).

WHATS_NEW
scripts/blk_availability_systemd_red_hat.service.in

index b4fd41560dec251c879109ab6403e0add98cc629..97b562d0b4da3017c326dae1ea52ed123ed55c95 100644 (file)
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,5 +1,6 @@
 Version 2.02.118 - 
 =================================
+  Add After=iscsi-shutdown.service to blk-availability.service systemd unit.
   Disallow vgconvert from changing metadata format when lvmetad is used.
   Don't do a full read of VG when creating a new VG with an existing name.
   Reduce number of VG metadata parsing when looking for vgname on a PV.
index 9c1cb783490bd515e232c49de6a2c35cfb9735fa..3506738a44fe476e9fb631a18764e0a5aaa44f0f 100644 (file)
@@ -1,6 +1,6 @@
 [Unit]
 Description=Availability of block devices
-After=lvm2-activation.service lvm2-lvmetad.service iscsi.service iscsid.service fcoe.service
+After=lvm2-activation.service lvm2-lvmetad.service iscsi-shutdown.service iscsi.service iscsid.service fcoe.service
 DefaultDependencies=no
 Conflicts=shutdown.target
 
This page took 0.039165 seconds and 5 git commands to generate.