diff options
author | Peter Rajnoha <prajnoha@redhat.com> | 2015-03-13 12:05:47 +0100 |
---|---|---|
committer | Peter Rajnoha <prajnoha@redhat.com> | 2015-03-13 12:08:20 +0100 |
commit | 05f23e77634b2ed3d7861511c07ed73a3bb6d096 (patch) | |
tree | 910d364ef4ddeb0fb94ad173d292b7367ec19664 | |
parent | c6d96efc38b2d1af9e81d96f27f17eea90fe7623 (diff) | |
download | lvm2-05f23e77634b2ed3d7861511c07ed73a3bb6d096.tar.gz |
systemd: blk-availability.service: add After=iscsi-shutdown.service
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).
-rw-r--r-- | WHATS_NEW | 1 | ||||
-rw-r--r-- | scripts/blk_availability_systemd_red_hat.service.in | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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. diff --git a/scripts/blk_availability_systemd_red_hat.service.in b/scripts/blk_availability_systemd_red_hat.service.in index 9c1cb7834..3506738a4 100644 --- a/scripts/blk_availability_systemd_red_hat.service.in +++ b/scripts/blk_availability_systemd_red_hat.service.in @@ -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 |