Skip to contentSkip to conversation

systemd: add %I to description of mdadm-last-resort services.

PATCH Applied NeilBrown 2 participants 2 messages Oct 30, 2017 – Nov 1, 2017 MD RAID

lore
Share & tools
lore

NeilBrown

author
#0 lore raw

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.

---
 systemd/[email protected] | 2 +-
 systemd/[email protected]   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
systemd/[email protected] +1 -1
index f9d4d12738a3..efeb3f639193 100644
@@ -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
index 52b3f227b05d..45ad223083eb 100644
@@ -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
Applied
#1 lore raw
Quoted 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
---
 systemd/[email protected] | 2 +-
 systemd/[email protected]   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Applied!

Thanks,
Jes