]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
systemd: add %I to description of mdadm-last-resort services.
authorNeilBrown <neilb@suse.com>
Mon, 30 Oct 2017 00:42:15 +0000 (11:42 +1100)
committerJes Sorensen <jsorensen@fb.com>
Wed, 1 Nov 2017 21:24:40 +0000 (17:24 -0400)
Just like the other template services, include the instance
name (I%) in the description of
 mdadm-last-resort@.service
 mdadm-last-resort@.timer

so that it is clear from the logs which array is affected.

Reported-by: Andrei Borzenkov <arvidjaar@gmail.com>
Link: http://bugzilla.opensuse.org/show_bug.cgi?id=1064915
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
systemd/mdadm-last-resort@.service
systemd/mdadm-last-resort@.timer

index f9d4d12738a3b776517c7cf0aa61f99a5296f397..efeb3f639193b90358a7c2bcc9f23c87d9157ca9 100644 (file)
@@ -1,5 +1,5 @@
 [Unit]
-Description=Activate md array even though degraded
+Description=Activate md array %I even though degraded
 DefaultDependencies=no
 ConditionPathExists=!/sys/devices/virtual/block/%i/md/sync_action
 
index 52b3f227b05d47c49f862136f95472e47f1fd55f..45ad223083eb564abab6014d93a64ecb4d5fb952 100644 (file)
@@ -1,5 +1,5 @@
 [Unit]
-Description=Timer to wait for more drives before activating degraded array.
+Description=Timer to wait for more drives before activating degraded array %I.
 DefaultDependencies=no
 Conflicts=sys-devices-virtual-block-%i.device