systemd: add %I to description of mdadm-last-resort services.
PATCH 1/1 systemd: add %I to description of mdadm-last-resort services.
Just like the other template services, include the instance name (I%) in the description of
[email protected] [email protected]
so that it is clear from the logs which array is affected.
Reported-by Andrei Borzenkov <[email protected]>
Signed-off-by NeilBrown <[email protected]>
--- systemd/[email protected] | 2 +- systemd/[email protected] | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
systemd/[email protected] +1 -1
@@ -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
systemd/[email protected] +1 -1
@@ -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
Signature · 1 line
2.14.0.rc0.dirty
Jes Sorensen
AppliedQuoted 8 lines · NeilBrown
Just like the other template services, include the instance name (I%) in the description of
[email protected] [email protected]so that it is clear from the logs which array is affected.
Quoted 7 lines
Reported-by Andrei Borzenkov <[email protected]>Signed-off-by NeilBrown <[email protected]>--- systemd/[email protected] | 2 +- systemd/[email protected] | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Applied!
Thanks,
Jes